Class AnnotationAttribute
Inheritance
AnnotationAttribute
Syntax
[AttributeUsage(AttributeTargets.Struct)]
public abstract class AnnotationAttribute : Attribute, _Attribute
Constructors
AnnotationAttribute(String, String)
Declaration
protected AnnotationAttribute(string displayName, string color)
Parameters
Fields
m_Color
Declaration
Field Value
m_DisplayName
Declaration
protected string m_DisplayName
Field Value
Methods
GetColor(Type)
Declaration
public static Color GetColor(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
GetDisplayName<T>(Type)
Declaration
protected static string GetDisplayName<T>(Type type)
where T : AnnotationAttribute
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Type Parameters
GetFullDisplayName(HashSet<Type>, Type, String)
Declaration
protected static string GetFullDisplayName(HashSet<Type> typesWithDuplicateClassName, Type type, string displayName)
Parameters
Returns
GetTypesWithDuplicateDescription(IEnumerable<Type>, AnnotationAttribute.GetDisplayNameDelegate)
Declaration
protected static HashSet<Type> GetTypesWithDuplicateDescription(IEnumerable<Type> types, AnnotationAttribute.GetDisplayNameDelegate getDisplayName)
Parameters
Returns