Class EnumStrictUtilities
Содержит служебные методы для работы с перечислениями.
Inheritance
System.Object
EnumStrictUtilities
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Common
Assembly: Terrasoft.Common.dll
Syntax
public static class EnumStrictUtilities
Methods
ToNormal(LogicalOperationStrict)
Преобразование перечисления типа LogicalOperationStrict в перечисление типа LogicalOperation.
Declaration
public static LogicalOperation ToNormal(this LogicalOperationStrict source)
Parameters
Type | Name | Description |
---|---|---|
LogicalOperationStrict | source | Перечисление типа LogicalOperationStrict. |
Returns
Type | Description |
---|---|
LogicalOperation | Перечисление типа LogicalOperation. |
ToStrict(AggregationType)
Преобразование перечисления типа AggregationType в перечисления типа AggregationTypeStrict.
Declaration
public static AggregationTypeStrict ToStrict(this AggregationType source)
Parameters
Type | Name | Description |
---|---|---|
AggregationType | source | Перечисление типа AggregationType. |
Returns
Type | Description |
---|---|
AggregationTypeStrict | Перечисление типа AggregationTypeStrict. |
Exceptions
Type | Condition |
---|---|
UnsupportedTypeException | При передаче в качестве параметра |
ToStrict(OrderDirection)
Преобразование перечисления типа OrderDirection в перечисления типа OrderDirectionStrict.
Declaration
public static OrderDirectionStrict ToStrict(this OrderDirection source)
Parameters
Type | Name | Description |
---|---|---|
OrderDirection | source | Перечисление типа OrderDirection. |
Returns
Type | Description |
---|---|
OrderDirectionStrict | Перечисление типа OrderDirectionStrict. |
Exceptions
Type | Condition |
---|---|
UnsupportedTypeException | При передаче в качестве параметра |