Click or drag to resize
MacroExtensionContainerTContainer, TExtensionGetExtensionForObject Method
Returns macro extension object of given name if registered for specified object. Caches the result in the internal cache. It loops through all extensions of given object type. Returns null if there is no such extension for given object.

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 13.0.131
Syntax
C#
protected static TExtension GetExtensionForObject(
	Object obj,
	string name
)

Parameters

obj
Type: SystemObject
Object to check
name
Type: SystemString
Name of the method

Return Value

Type: TExtension
See Also