Click or drag to resize
MacroMethodParam Class
Macro method parameter object.
Inheritance Hierarchy
SystemObject
  CMS.MacroEngineMacroMethodParam

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

The MacroMethodParam type exposes the following members.

Constructors
  NameDescription
Public methodMacroMethodParam(String, Type, String)
Creates new instance of MacroMethodParam object.
Public methodMacroMethodParam(String, Type, String, Boolean)
Creates new instance of MacroMethodParam object.
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 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