Click or drag to resize
MacroMethodAttribute Class
Adds action to the page.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    CMS.MacroEngineMacroMethodAttribute

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.2.23
Syntax
C#
public class MacroMethodAttribute : Attribute

The MacroMethodAttribute type exposes the following members.

Constructors
  NameDescription
Public methodMacroMethodAttribute
Creates new MacroMethodAttribute.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyComment
Comment of the macro method.
Public propertyIsHidden
If true, the method won't be visible in IntelliSense (but will be normally executed when called).
Public propertyMinimumParameters
Gets or sets the minimal number of parameters needed by the method.
Public propertyName
Name of the macro method.
Public propertySnippet
Gets or sets a code snippet which is used in AutoCompletion when TAB is pressed (for determining the cursor position use pipe).
Public propertySpecialParameters
Gets or sets the list of special parameters needed to be supplied by resolver.
Public propertyType
Gets or sets a return type of the method.
Top
See Also