Click or drag to resize
MacroFieldContainer Class
Container for field extensions of an arbitrary object used by MacroEngine.
Inheritance Hierarchy
SystemObject
  CMS.MacroEngineMacroExtensionContainerMacroFieldContainer, MacroField
    CMS.MacroEngineMacroFieldContainer

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 9.0.0
Syntax
C#
public class MacroFieldContainer : MacroExtensionContainer<MacroFieldContainer, MacroField>

The MacroFieldContainer type exposes the following members.

Constructors
  NameDescription
Public methodMacroFieldContainer
Top
Properties
Methods
  NameDescription
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.)
Public methodGetField
Returns a field of given name (return null if specified field does not exist).
Public methodStatic memberGetFieldForObject
Returns macro field object of given name if registered for specified object. It loops through all MacroFieldContainer extensions of given object type. Returns null if there is no such Extension for given object.
Public methodStatic memberGetFieldsForObject
Returns list of macro field extension registered for specified object. Returns null if there is no such extension for given object.
Protected methodRegisterExtension
Registers a Extension to the container.
(Inherited from MacroExtensionContainerTContainer, TExtension.)
Protected methodRegisterExtensions
Registers all the fields.
(Overrides MacroExtensionContainerTContainer, TExtensionRegisterExtensions.)
Public methodRegisterField
Registers the given field.
Protected methodRegisterFields
Registers all the fields.
Top
See Also