Method | Description | |
---|---|---|
ExtractParameter ( IEnumerable |
Gets the entry with the specified index from the specified parameters list.
|
|
InvokeFunction ( SageContext context, string name, string arguments ) : string |
Invokes the function with the specified name using the specified context and arguments.
|
|
InvokeVariable ( SageContext context, string name ) : string |
Invokes the variable with the specified name using the specified context.
|
|
Process ( string value ) : string |
Processes any dynamic expressions embedded in the specified value.
|
|
Process ( string value, SageContext context ) : string |
Processes any dynamic expressions embedded in the specified value, using the specified context.
|
|
RegisterFunction ( string name, TextFunction handler ) : void |
Registers a function handler with the specified name.
|
|
RegisterVariable ( string name, TextVariable handler ) : void |
Registers a variable handler with the specified name.
|
|
TextEvaluator ( SageContext context ) : System |
Initializes a new instance of the TextEvaluator class, using the specified context.
|
Method | Description | |
---|---|---|
DiscoverFunctionsAndVariables ( ) : void | ||
OnAssembliesUpdated ( object sender, |
||
ProcessChunk ( SageContext context, string value ) : string | ||
TextEvaluator ( ) : System |
public static ExtractParameter ( IEnumerable |
||
parameters | IEnumerable |
The list parameters. |
index | int | The index. |
defaultValue | string | The default value. |
return | string |
public static InvokeFunction ( SageContext context, string name, string arguments ) : string | ||
context | SageContext | The context to use when invoking the function. |
name | string | The name of the function to invoke. |
arguments | string | The arguments to use when invoking the function. |
return | string |
public static InvokeVariable ( SageContext context, string name ) : string | ||
context | SageContext | The context to use when invoking the variable. |
name | string | The name of the variable to invoke. |
return | string |
public Process ( string value ) : string | ||
value | string | The value to process. |
return | string |
public static Process ( string value, SageContext context ) : string | ||
value | string | The value to process. |
context | SageContext | The context to use. |
return | string |
public static RegisterFunction ( string name, TextFunction handler ) : void | ||
name | string | Name of the function. |
handler | TextFunction | The function that provides the result value. |
return | void |
public static RegisterVariable ( string name, TextVariable handler ) : void | ||
name | string | Name of the variable. |
handler | TextVariable | The function that provides the variable value. |
return | void |
public TextEvaluator ( SageContext context ) : System | ||
context | SageContext | The context to use with this instance. |
return | System |