Table of Contents

Class StringEnumeration

Namespace
CMS.Plugin.MesSuite.Abstractions.Enums
Assembly
CMS.Plugin.MesSuite.Abstractions.dll

枚举类

public class StringEnumeration : Enumeration<string>, IEquatable<Enumeration<string>>
Inheritance
StringEnumeration
Implements
Derived
Inherited Members

Constructors

StringEnumeration()

Initializes a new instance of the StringEnumeration class.

public StringEnumeration()

StringEnumeration(string, string, string)

Initializes a new instance of the StringEnumeration class.

public StringEnumeration(string value, string name, string description = null)

Parameters

value string

The identifier.

name string

The name.

description string

Methods

GetAllEnumeration()

Gets all integer enumeration.

public static IEnumerable<StringEnumeration> GetAllEnumeration()

Returns

IEnumerable<StringEnumeration>

GetAllGuidEnumeration<T>()

Gets all integer enumeration.

public static IEnumerable<StringEnumeration> GetAllGuidEnumeration<T>() where T : GuidEnumeration, new()

Returns

IEnumerable<StringEnumeration>

Type Parameters

T

GetAllIntegerEnumeration<T>()

Gets all integer enumeration.

public static IEnumerable<StringEnumeration> GetAllIntegerEnumeration<T>() where T : IntegerEnumeration, new()

Returns

IEnumerable<StringEnumeration>

Type Parameters

T

GetAll<T>()

Gets all.

public static IEnumerable<T> GetAll<T>() where T : StringEnumeration, new()

Returns

IEnumerable<T>

Type Parameters

T

GetAll<T>(Type)

Gets all.

public static IEnumerable<T> GetAll<T>(Type type) where T : StringEnumeration, new()

Parameters

type Type

The type.

Returns

IEnumerable<T>

Type Parameters

T

GetByDescription<T>(string)

Gets the by description.

public static StringEnumeration GetByDescription<T>(string description) where T : StringEnumeration, new()

Parameters

description string

The description.

Returns

StringEnumeration

Type Parameters

T

GetByName<T>(string)

Gets the name of the by.

public static StringEnumeration GetByName<T>(string name) where T : StringEnumeration, new()

Parameters

name string

The name.

Returns

StringEnumeration

Type Parameters

T