Class EnumParser
Inheritance
System.Object
EnumParser
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.Serialization
Assembly: Aurigma.DesignAtoms.dll
Syntax
public static class EnumParser
Methods
TryParse<TEnum>(String, Nullable<TEnum>)
Declaration
public static TEnum TryParse<TEnum>(string stringValue, TEnum? defaultValue = null)
where TEnum : struct, IConvertible
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | stringValue | |
| System.Nullable<TEnum> | defaultValue |
Returns
| Type | Description |
|---|---|
| TEnum |
Type Parameters
| Name | Description |
|---|---|
| TEnum |