TryGetEnumList

TryGetEnumList<TEnum>(string, out IList<TEnum>)

public bool TryGetEnumList<TEnum>(string name, out IList<TEnum> value) ;

Description

Get the value of the EnumList type.

Type Parameters

Type Parameter Name Description Type Constraints
TEnum Type of enum to get
  • Enum

Parameters

Parameter Name Description
name Name.
value Value.

Returns

The true when there parameters of the specified name.

TryGetEnumList<TEnum>(int, out IList<TEnum>)

public bool TryGetEnumList<TEnum>(int id, out IList<TEnum> value) ;

Description

Get the value of the Enum type.

Type Parameters

Type Parameter Name Description Type Constraints
TEnum Type of enum to get
  • Enum

Parameters

Parameter Name Description
id ID.
value Value.

Returns

The true when there parameters of the specified name.