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

◆ EditorAttribute() [3/4]

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

Definition at line 46 of file EditorAttribute.cs.

47 {
48 if (typeName == null)
49 {
50 throw new ArgumentNullException("typeName");
51 }
52 if (baseType == null)
53 {
54 throw new ArgumentNullException("baseType");
55 }
56 EditorTypeName = typeName;
57 EditorBaseTypeName = baseType.AssemblyQualifiedName;
58 }

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