Class MarkerAttribute
Inheritance
MarkerAttribute
Syntax
public class MarkerAttribute : AnnotationAttribute, _Attribute
Constructors
MarkerAttribute(String, String)
Declaration
public MarkerAttribute(string displayName, string color)
Parameters
Fields
k_TypesWithDuplicates
Declaration
protected static HashSet<Type> k_TypesWithDuplicates
Field Value
k_UnknownMarkerType
Declaration
public const string k_UnknownMarkerType = "Unknown Marker Type"
Field Value
Methods
GetDescription(Type)
Declaration
public static string GetDescription(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
GetMarkerTypes()
Declaration
public static IEnumerable<Type> GetMarkerTypes()
Returns
HasMarkerAttribute(Type)
Declaration
public static bool HasMarkerAttribute(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
IsMarkerType(Type)
Declaration
public static bool IsMarkerType(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns