Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Method in DeclarationBuilder
Sets the Description of the Declaration .
public DeclarationBuilder WithDescription(string description)The instance that received this method call.
Method in DeclarationBuilder
Sets the DefaultValue of the Declaration .
public DeclarationBuilder WithDefaultValue(System.IConvertible defaultValue)The instance that received this method call.
Method in DeclarationBuilder
Sets the Range of the Declaration .
public DeclarationBuilder WithRange(Yarn.Compiler.Range range)The instance that received this method call.
string description
The description to apply to the Declaration.
System.IConvertible defaultValue
The default value to apply to the Declaration.
Yarn.Compiler.Range range
The range to apply to the Declaration.
public Declaration Declaration { get; };Method in DeclarationBuilder
Sets the Type of the Declaration .
public DeclarationBuilder WithType(IType type)The instance that received this method call.
Method in DeclarationBuilder
Sets the Name of the Declaration .
public DeclarationBuilder WithName(string name)The instance that received this method call.
Yarn.IType type
The type to apply to the Declaration.
string name
The name to apply to the Declaration.
string sourceFileName
The source file name to apply to the Declaration.
The DeclarationBuilder instance that received this method call.
public DeclarationBuilder WithSourceFileName(string sourceFileName)string sourceNodeName
The source node name to apply to the Declaration.
The DeclarationBuilder instance that received this method call.
public DeclarationBuilder WithSourceNodeName(string sourceNodeName)bool isImplicit
The is-implicit value to apply to the Declaration.
The DeclarationBuilder instance that received this method call.
public DeclarationBuilder WithImplicit(bool isImplicit)To use this class, create an instance of it, and call the With -prefixed methods to set properties. When you're done, access the Declaration property to get the final, constructed Declaration .
Sets the of the .
Sets the of the .
Sets the of the .
Sets the of the .
Sets the of the .
Gets the instance constructed by this .
public class DeclarationBuilderSets the SourceFileName of the Declaration .
Sets the SourceNodeName of the Declaration .
Sets the Type of the Declaration .