Class TypeNameChangeGlobalAttribute
Define a type name change mapping globally.
Namespace: Mechatronics.SystemGraph
Syntax
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class TypeNameChangeGlobalAttribute : Attribute, _Attribute
Constructors
TypeNameChangeGlobalAttribute(String, Type)
Change a type from a old type to a new type. Must be full names with the name space and all.
Declaration
public TypeNameChangeGlobalAttribute(string oldTypeName, Type newType)
Parameters
| Type | Name | Description |
|---|---|---|
| String | oldTypeName | Full name of the old type. |
| Type | newType | New Type. |
Fields
NewType
Creates new type.
Declaration
public Type NewType
Field Value
| Type | Description |
|---|---|
| Type |
OldName
The old name
Declaration
public string OldName
Field Value
| Type | Description |
|---|---|
| String |