Skip to content

Interface IArgument

Definition

Namespace: StardewUI.Framework.Dom
Assembly: StardewUI.dll

An argument to a method call, e.g. as used in an IEvent.

public interface IArgument

Members

Properties

Name Description
ContextRedirect Specifies the redirect to use for a context binding, if one was specified and if the Type is ContextBinding.
Expression The argument value or binding path, not including punctuation such as quotes or prefixes.
Type The type of argument, indicating how it is to be evaluated in any method calls.

Methods

Name Description
Print(StringBuilder) Prints the textual representation of this argument.

Details

Properties

ContextRedirect

Specifies the redirect to use for a context binding, if one was specified and if the Type is ContextBinding.

StardewUI.Framework.Dom.ContextRedirect ContextRedirect { get; }
Property Value

ContextRedirect


Expression

The argument value or binding path, not including punctuation such as quotes or prefixes.

string Expression { get; }
Property Value

string


Type

The type of argument, indicating how it is to be evaluated in any method calls.

StardewUI.Framework.Grammar.ArgumentExpressionType Type { get; }
Property Value

ArgumentExpressionType


Methods

Print(StringBuilder)

Prints the textual representation of this argument.

void Print(System.Text.StringBuilder sb);
Parameters

sb   StringBuilder
Builder to receive the argument's text output.