Table of Contents

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
object
Attribute
MacroMethodsMovedFromNamespaceAttribute
Extension Methods

Constructors

MacroMethodsMovedFromNamespaceAttribute(string, string)

Creates new instance of MacroMethodsMovedFromNamespaceAttribute.

public MacroMethodsMovedFromNamespaceAttribute(string oldNamespace, string obsoleteMessage)

Parameters

oldNamespace string

Old namespace where the macro method was defined.

obsoleteMessage string

The 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