Class RenamedAttribute
Defines past name, namespace and assembly of the class in order to ensure backward compatibility
Inheritance
RenamedAttribute
Assembly: Xareus.Scenarios.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum, AllowMultiple = true, Inherited = true)]
public sealed class RenamedAttribute : Attribute, IRenameClass
Constructors
RenamedAttribute(string)
Declaration
public RenamedAttribute(string previousName)
Parameters
Type |
Name |
Description |
string |
previousName |
|
RenamedAttribute(string, string)
Declaration
public RenamedAttribute(string previousName, string previousAssemblyName)
Parameters
Type |
Name |
Description |
string |
previousName |
|
string |
previousAssemblyName |
|
RenamedAttribute(string, string, Type)
Declaration
public RenamedAttribute(string previousName, string previousAssemblyName, Type parametersConverter)
Parameters
Type |
Name |
Description |
string |
previousName |
|
string |
previousAssemblyName |
|
Type |
parametersConverter |
|
RenamedAttribute(string, Type)
Declaration
public RenamedAttribute(string previousName, Type parametersConverter)
Parameters
Type |
Name |
Description |
string |
previousName |
|
Type |
parametersConverter |
|
Properties
ParametersConverter
The class to convert the parameters from the old to the new format
Declaration
public IFunctionParametersConverter ParametersConverter { get; set; }
Property Value
RenamedClassAssemblyName
The previous assembly name of the element
Declaration
public string RenamedClassAssemblyName { get; set; }
Property Value
RenamedClassName
The previous name of the element
Declaration
public string RenamedClassName { get; set; }
Property Value
Implements