docs.unity.cn
    Show / Hide Table of Contents

    Class TypeNameChangeGlobalAttribute

    Define a type name change mapping globally.

    Inheritance
    Object
    Attribute
    TypeNameChangeGlobalAttribute
    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
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, October 18, 2022
    Terms of use