Méthode | Description | |
---|---|---|
AsMemberFunction ( ) : |
Tries to cast the function to a member function.
|
|
Copy ( ) : |
Does not clone the function, but just returns the same function again.
|
|
Deserialize ( byte content ) : |
Tries to create a new instance from the given bytes.
|
|
FunctionValue ( ) : System |
Creates a new (dummy) instance of a FunctionValue.
|
|
FunctionValue ( Func |
Creates a new instance of a FunctionValue with a delegate argument.
|
|
FunctionValue ( IFunction function ) : System |
Creates a new FunctionValue with a given class that contains a perform method, i.e. implements the IFunction interface.
|
|
FunctionValue ( String arguments, String body ) : System |
Creates a new FunctionValue with data to parse.
|
|
Perform ( |
Invokes the given function value.
|
|
Serialize ( ) : byte[] |
Tries to convert the given instance into bytes.
|
|
ToString ( ) : String |
Returns a string representation of the function.
|
Méthode | Description | |
---|---|---|
FunctionValue ( String arguments, Expression body ) : System |
Creates a new FunctionValue with a parsed object (lambda expression).
|
|
FunctionValue ( String name, String arguments, Expression body ) : System |
Creates a new FunctionValue with a parsed named function (function).
|
|
SetPerform ( String arguments, Expression body ) : void | ||
SetPerform ( String name, String arguments, Expression body ) : void |
public AsMemberFunction ( ) : |
||
Résultat |
public Deserialize ( byte content ) : |
||
content | byte | The binary content. |
Résultat |
public FunctionValue ( Func |
||
f | Func |
Delegate to be wrapped in a function |
standardFunctionBehaviour | System.Boolean | indicates if the wrapper /// should include the StandardFunction behaviour, i.e. scalar execution /// for ScalarValues and matrix execution for MatrixValues |
Résultat | System |
public FunctionValue ( IFunction function ) : System | ||
function | IFunction | The instance of the class implementing the IFunction interface. |
Résultat | System |
public FunctionValue ( String arguments, String body ) : System | ||
arguments | String | The list of argument identifiers. |
body | String | The string representation of the body. |
Résultat | System |
public Perform ( |
||
context | The context of the invocation. | |
argument | The argument(s) to use for the invocation. | |
Résultat |