Class EnumExtensions
Extension methods for the System.Enum class
Inheritance
System.Object
EnumExtensions
Namespace: Atlas
Assembly: Atlas.Editor.dll
Syntax
public static class EnumExtensions
Methods
| Improve this Doc View SourceIsObsolete(Enum)
Determines if the given enum value has been marked with System.ObsoleteAttribute
Declaration
public static bool IsObsolete(this Enum e)
Parameters
Type | Name | Description |
---|---|---|
System.Enum | e | The enum value to check |
Returns
Type | Description |
---|---|
System.Boolean | True if the value has been marked obselete, false otherwise |