Table of Contents

Class EnumParser

Namespace
FemDesign.GenericClasses
Assembly
FemDesign.Core.dll
public static class EnumParser
Inheritance
EnumParser
Inherited Members

Methods

Parse<TEnum>(string)

Parse a string to TEnum. String must be one of the values of ParseableAttribute on the enum.

public static TEnum Parse<TEnum>(string value) where TEnum : struct

Parameters

value string

Returns

TEnum

Type Parameters

TEnum

TryParse<TEnum>(string, out TEnum)

public static bool TryParse<TEnum>(string value, out TEnum result) where TEnum : struct

Parameters

value string
result TEnum

Returns

bool

Type Parameters

TEnum