Class MacroMethodsMovedFromNamespaceAttribute
- Namespace
- CMS.MacroEngine
- Assembly
- CMS.MacroEngine.dll
Marks the macro methods old namespace and sets the obsolete message for usages with old namespace.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class MacroMethodsMovedFromNamespaceAttribute : Attribute
- Inheritance
-
objectAttributeMacroMethodsMovedFromNamespaceAttribute
- Extension Methods
Constructors
MacroMethodsMovedFromNamespaceAttribute(string, string)
Creates new instance of MacroMethodsMovedFromNamespaceAttribute.
public MacroMethodsMovedFromNamespaceAttribute(string oldNamespace, string obsoleteMessage)
Parameters
oldNamespacestringOld namespace where the macro method was defined.
obsoleteMessagestringThe text that describes alternative workarounds.
Properties
ObsoleteMessage
The workaround message.
public string ObsoleteMessage { get; }
Property Value
- string
OldNamespace
Old namespace where the macro method was defined.
public string OldNamespace { get; }
Property Value
- string