Table of Contents

Class GuidEnumeration

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

枚举类

public class GuidEnumeration : Enumeration<Guid>, IEquatable<Enumeration<Guid>>
Inheritance
GuidEnumeration
Implements
Inherited Members

Constructors

GuidEnumeration()

Initializes a new instance of the StringEnumeration class.

public GuidEnumeration()

GuidEnumeration(Guid, string, string)

Initializes a new instance of the StringEnumeration class.

public GuidEnumeration(Guid value, string name, string description = null)

Parameters

value Guid

The identifier.

name string

The name.

description string

Methods

GetAll<T>()

Gets all.

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

Returns

IEnumerable<T>

Type Parameters

T

GetAll<T>(Type)

Gets all.

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

Parameters

type Type

The type.

Returns

IEnumerable<T>

Type Parameters

T