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
Methods
GetAllEnumeration()
Gets all integer enumeration.
public static IEnumerable<StringEnumeration> GetAllEnumeration()
Returns
GetAllGuidEnumeration<T>()
Gets all integer enumeration.
public static IEnumerable<StringEnumeration> GetAllGuidEnumeration<T>() where T : GuidEnumeration, new()
Returns
Type Parameters
T
GetAllIntegerEnumeration<T>()
Gets all integer enumeration.
public static IEnumerable<StringEnumeration> GetAllIntegerEnumeration<T>() where T : IntegerEnumeration, new()
Returns
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
TypeThe 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
stringThe description.
Returns
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
stringThe name.
Returns
Type Parameters
T