The MacroMethod type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| MacroMethod |
Creates new MacroMethod object.
| |
| MacroMethod(String, Func Object , Object ) |
Creates new instance of MacroMethod object.
| |
| MacroMethod(String, Func EvaluationContext, Object , Object ) |
Creates new instance of MacroMethod object.
| |
| MacroMethod(String, Func MacroResolver, Object , Object ) |
Creates new instance of MacroMethod object.
|
Methods
| Name | Description | |
|---|---|---|
| AddParameter(IMacroMethodParam) |
Adds parameter to the method definition.
| |
| AddParameter(String, Type, String, Boolean, Boolean) |
Adds parameter to the method definition.
| |
| (Inherited from | ||
| ExecuteMethod( Object ) |
Executes given method with parameters.
| |
| ExecuteMethod(EvaluationContext, Object ) |
Executes given method with parameters.
| |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
Serves as a hash function for a particular type. (Inherited from | ||
| GetParameterComment |
Returns a comment of the index-th parameter.
| |
| GetParameterName |
Returns a name of the index-th parameter.
| |
| GetParameterType |
Returns a type of the index-th parameter.
| |
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
Returns a string that represents the current object. (Inherited from |
Extension Methods
| Name | Description | |
|---|---|---|
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Properties
| Name | Description | |
|---|---|---|
| AllowedTypes |
Gets or sets a list of types for which the method is applicable (set to null for all types to be allowed).
| |
| Comment |
Gets or sets a comment for the method.
| |
| IsHidden |
If true, the method won't be visible in IntelliSense (but will be normally executed when called).
| |
| Method |
Gets or sets reference to a method.
| |
| MethodContext |
Gets or sets reference to a method.
| |
| MethodResolver |
Gets or sets reference to a method.
| |
| MinimumParameters |
Gets or sets the minimal number of parameters needed by the method.
| |
| Name |
Returns name of the field.
(Inherited from MacroExtension.) | |
| Parameters |
Gets or sets the parameters for the method.
| |
| Snippet |
Gets or sets a code snippet which is used in AutoCompletion when TAB is pressed (for determining the cursor position use pipe).
| |
| SpecialParameters |
Gets or sets the list of special parameters needed to be supplied by resolver.
| |
| Type |
Gets or sets a return type of the method.
|
See Also