MacroResolverGetInstance Method |
Returns new instance of MacroResolver (first calls the OnGetInstance handler, if no handler is attached, new instance is created via protected constructor).
Namespace: CMS.MacroEngineAssembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.2.23
Syntax public static MacroResolver GetInstance(
bool inheritFromGlobalResolver = true
)
Parameters
- inheritFromGlobalResolver (Optional)
- Type: SystemBoolean
If true, the resolver will be a child of the GlobalResolver (recommended if you need full feature resolver)
Return Value
Type:
MacroResolverSee Also