Click or drag to resize
MacroMethodContainer Methods

The MacroMethodContainer type exposes the following members.

Methods
  NameDescription
Protected methodStatic memberCompareDateTime
Compares DateTime values.
Protected methodStatic memberCompareDouble
Compares double numbers.
Protected methodStatic memberCompareString
Compares strings (lexicographically).
Protected methodStatic memberCompareTimeSpan
Compares TimeSpan values.
Protected methodStatic memberCompareValues
Returns true if first parameter is lower than or equal to second.
Protected methodStatic memberGetBoolParam
Returns the parameter converted to boolean or false if parameter is not boolean.
Protected methodStatic memberGetDoubleParam
Returns the parameter converted to double or zero if parameter is not double.
Protected methodGetExtension(String)
Returns a Extension of given name (return null if specified Extension does not exist).
(Inherited from MacroExtensionContainerTContainer, TExtension.)
Protected methodGetExtension(Type, String)
Returns the extension by type and name. Does not cache the result. Does not cache the result.
(Inherited from MacroExtensionContainerTContainer, TExtension.)
Protected methodGetExtensions
Gets the extensions for the given type. Does not cache the result.
(Inherited from MacroExtensionContainerTContainer, TExtension.)
Protected methodStatic memberGetGuidParam
Converts the parameter to GUID. Returns Guid.Empty if parameter is not GUID.
Protected methodStatic memberGetIntParam
Returns the parameter converted to integer or zero if parameter is not integer.
Protected methodStatic memberGetLazyParamValue
Gets the lazy parameter value by evaluating it
Public methodGetMethod
Returns a method of given name (return null if specified method does not exist).
Public methodStatic memberGetMethodForObject
Returns macro method object of given name if registered for specified object. It loops through all MacroMethodContainer extensions of given object type. Returns null if there is no such Extension for given object.
Public methodStatic memberGetMethodsForObject
Returns list of macro method extension registered for specified object. Returns null if there is no such extension for given object.
Protected methodStatic memberGetOptionalParamT
Gets the optional param of the given type
Protected methodStatic memberGetParamValueT
Returns the index-th parameter evaluated using given resolver.
Protected methodStatic memberGetStringParam
Returns the parameter converted to string or empty string.
Protected methodRegisterExtension
Registers a Extension to the container.
(Inherited from MacroExtensionContainerTContainer, TExtension.)
Protected methodRegisterExtensions
Registers all the methods.
(Overrides MacroExtensionContainerTContainer, TExtensionRegisterExtensions.)
Public methodRegisterMethod
Registers the given method.
Protected methodRegisterMethodInternal(String, FuncEvaluationContext, Object, Object, Type, String, Int32, Object, String)
Registers the given method within the method table.
Protected methodRegisterMethodInternal(String, FuncEvaluationContext, Object, Object, Type, String, Int32, Object, String)
Registers the given method within the method table.
Protected methodRegisterMethods
Registers all the methods.
Public methodRegisterMethods(MacroMethod)
Registers the given methods.
Protected methodStatic memberUnwrapContainer
Unwraps all DateTime and TimeSpan containers to their original system value.
Top
See Also