Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ EditorAttribute() [4/4]

System.ComponentModel.EditorAttribute.EditorAttribute ( [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type type,
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type baseType )
inline

Definition at line 60 of file EditorAttribute.cs.

61 {
62 if (type == null)
63 {
64 throw new ArgumentNullException("type");
65 }
66 if (baseType == null)
67 {
68 throw new ArgumentNullException("baseType");
69 }
70 EditorTypeName = type.AssemblyQualifiedName;
71 EditorBaseTypeName = baseType.AssemblyQualifiedName;
72 }

References System.Type.AssemblyQualifiedName, System.ComponentModel.EditorAttribute.EditorBaseTypeName, System.ComponentModel.EditorAttribute.EditorTypeName, and System.type.