Class Enumeration
- Namespace
- CMS.Plugin.MesSuite.Abstractions.Enums
- Assembly
- CMS.Plugin.MesSuite.Abstractions.dll
枚举类
public class Enumeration : Enumeration<object>, IEquatable<Enumeration<object>>
- Inheritance
-
Enumeration
- Implements
- Derived
- Inherited Members
Constructors
Enumeration()
Initializes a new instance of the Enumeration class.
public Enumeration()
Enumeration(object, string, string)
Initializes a new instance of the StringEnumeration class.
public Enumeration(object value, string name, string description = null)
Parameters
Methods
GetAllGuidEnumeration<T>()
Gets all integer enumeration.
public static IEnumerable<Enumeration> GetAllGuidEnumeration<T>() where T : GuidEnumeration, new()
Returns
Type Parameters
T
GetAllIntegerEnumeration<T>()
Gets all integer enumeration.
public static IEnumerable<Enumeration> GetAllIntegerEnumeration<T>() where T : IntegerEnumeration, new()
Returns
Type Parameters
T
GetAllStringEnumeration<T>()
Gets all integer enumeration.
public static IEnumerable<Enumeration> GetAllStringEnumeration<T>() where T : StringEnumeration, new()
Returns
Type Parameters
T
GetAll<T>()
Gets all.
public static IEnumerable<T> GetAll<T>() where T : Enumeration, new()
Returns
- IEnumerable<T>
Type Parameters
T
GetAll<T>(Type)
Gets all.
public static IEnumerable<T> GetAll<T>(Type type) where T : Enumeration, new()
Parameters
type
TypeThe type.
Returns
- IEnumerable<T>
Type Parameters
T