| MacroMethodAttribute Class |
Namespace: CMS.MacroEngine
public class MacroMethodAttribute : Attribute
The MacroMethodAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
| MacroMethodAttribute |
Creates new MacroMethodAttribute.
|
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| 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.) |
| Name | Description | |
|---|---|---|
| Comment |
Comment of the macro method.
| |
| IsHidden |
If true, the method won't be visible in IntelliSense (but will be normally executed when called).
| |
| MinimumParameters |
Gets or sets the minimal number of parameters needed by the method.
| |
| Name |
Name of the macro 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.
|