Table of Contents

Class EnumExtensions

Namespace
Songhay.Extensions
Assembly
SonghayCore.dll

Extensions of Enum.

public static class EnumExtensions
Inheritance
EnumExtensions
Inherited Members

Methods

GetEnumDescription(Enum)

Gets any conventional Description applied to an Enum.

public static string? GetEnumDescription(this Enum value)

Parameters

value Enum

The Enum.

Returns

string

GetEnumValues(Enum)

Gets the result of GetValues(Type) based on the specified Enum.

public static IEnumerable<Enum> GetEnumValues(this Enum value)

Parameters

value Enum

The Enum.

Returns

IEnumerable<Enum>