Click or drag to resize
MacroResolverStorage Class
Global storage of static resolvers for all modules. Extend this to store your module's resolver to be globally available (in e-mail templates, macro components, etc.)
Inheritance Hierarchy
SystemObject
  CMS.MacroEngineMacroResolverStorage

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

The MacroResolverStorage type exposes the following members.

Constructors
  NameDescription
Public methodMacroResolverStorage
Top
Methods
  NameDescription
Public methodStatic memberGetRegisteredResolver
Returns resolver of given name. Returns default resolver if the name was not found.
Public methodStatic memberGetRegisteredResolvers
Returns names of all registered resolvers.
Public methodStatic memberRegisterGetResolverHandler
Registers handler(s) called when resolver is being retrieved and was not found in the main storage.
Public methodStatic memberRegisterResolver
Registers the macro resolver
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
See Also