Click or drag to resize
MacroMethods Class
Macro methods.
Inheritance Hierarchy

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

The MacroMethods type exposes the following members.

Constructors
  NameDescription
Public methodMacroMethods
Top
Methods
  NameDescription
Public methodStatic memberAreMethodsRegistered
Returns true if methods are registred in the hashtable of all methods.
Public methodStatic memberExecuteMethod(String, Object)
Executes the given method with parameters.
Public methodStatic memberExecuteMethod(String, MacroResolver, Object)
Executes the given method with parameters.
Public methodStatic memberGetMethod
Gets the specific method delegate.
Public methodStatic memberGetMethodsForObject(Object)
Returns the list of macro methods suitable for specified object.
Public methodStatic memberGetMethodsForObject(Object, Boolean)
Returns the list of macro methods suitable for specified object.
Public methodStatic memberGetMethodsForObject(Object, Boolean, Boolean)
Returns the list of macro methods suitable for specified object.
Public methodStatic memberRegisterMethod
Registers the given method within the method table.
Protected methodStatic memberRegisterMethodInternal(String, FuncObject, Object, Type, String, Int32, Object, String, ListType)
Registers the given method within the method table.
Protected methodStatic memberRegisterMethodInternal(String, FuncEvaluationContext, Object, Object, Type, String, Int32, Object, String, ListType)
Registers the given method within the method table.
Protected methodStatic memberRegisterMethodInternal(String, FuncMacroResolver, Object, Object, Type, String, Int32, Object, String, ListType)
Registers the given method within the method table.
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
Fields
  NameDescription
Protected fieldStatic membermAnyTypeMethods
List of methods which are available for any type
Protected fieldStatic membermMethods
Table of available methods.
Protected fieldStatic membermMethodsByType
Index of methods available for specified type.
Top
Properties
  NameDescription
Public propertyStatic memberMethods
Gets the hashtable with all methods.
Top
See Also