接口 IConstant<T>
public interface IConstant<T>
The interface
Created at 3/1/2022 11:06 PM.
IConstant is the standard of all the enumerations in the class library.Created at 3/1/2022 11:06 PM.
- 作者:
- vorbote
-
方法概要
修饰符和类型方法说明get()Get the instance value of this constant value.booleanisCorrectValue(T value) Check whether the providedvalueis a correct value of this enumeration.
-
方法详细资料
-
get
T get()Get the instance value of this constant value.- 返回:
- The instance value of this constant value.
-
isCorrectValue
Check whether the providedvalueis a correct value of this enumeration.- 参数:
value- Thevalueto check.- 返回:
- Value
trueif the value is one of these enumerations.
-