GetEnumList

GetEnumList<TEnum>(int)

public IList<TEnum> GetEnumList<TEnum>(int id) ;

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
id ID.

Returns

The value of the parameter. If there is no parameter, it returns null.

GetEnumList<TEnum>(string)

public IList<TEnum> GetEnumList<TEnum>(string name) ;

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.

Returns

The value of the parameter. If there is no parameter, it returns null.