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

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

The MacroMethodParamAttribute type exposes the following members.

Constructors
  NameDescription
Public methodMacroMethodParamAttribute(Int32, String, Type, String)
Creates new instance of MacroMethodParam object.
Public methodMacroMethodParamAttribute(Int32, String, Type, String, Boolean)
Creates new instance of MacroMethodParam object.
Top
Methods
  NameDescription
Public methodGetMacroParam
Creates new MacroMethodParam object from data of this attribute.
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 propertyAsExpression
If true, the parameter is passed to the method as expression (MacroExpression object), not evaluated.
Public propertyComment
Gets or sets a comment for the method.
Public propertyIndex
Index of the breadcrumb.
Public propertyIsParams
If true, the parameter is declared with params keyword.
Public propertyName
Gets or sets the name of the method.
Public propertyType
Gets or sets a return type of the method.
Top
See Also