![]() | FieldWrapperT Class |
Namespace: WhetStone.Fielding
public class FieldWrapper<T> : IComparable<T>, IComparable<FieldWrapper<T>>, IEquatable<T>, IEquatable<FieldWrapper<T>>
The FieldWrapperT type exposes the following members.
Name | Description | |
---|---|---|
![]() | FieldWrapperT(Double) |
Constructor.
|
![]() | FieldWrapperT(Int32) |
Constructor.
|
![]() | FieldWrapperT(UInt64) |
Constructor.
|
![]() | FieldWrapperT(T) |
Constructor.
|
Name | Description | |
---|---|---|
![]() | Field |
Get the FieldT used for all arithmetic operations.
|
![]() | isNegative |
Get whether the element is strictly negative.
|
![]() | isOne |
Get whether the element is one.
|
![]() | isPositive |
Get whether the element is strictly positive.
|
![]() | isZero |
Get whether the element is zero.
|
![]() | val |
The wrapped value.
|
Name | Description | |
---|---|---|
![]() | Abs |
Get the absolute value of the element.
|
![]() | CompareTo(T) | Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. |
![]() | CompareTo(FieldWrapperT) | Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. |
![]() | Deconstruct |
Deconstruct the wrapped member to an original member and wrapping field.
|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(Object).) |
![]() | Equals(T) | Indicates whether the current object is equal to another object of the same type. |
![]() | Equals(FieldWrapperT) | Indicates whether the current object is equal to another object of the same type. |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Invert |
Gets the inverted value of val.
|
![]() | Log |
Get the logarithm of the element.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Pow |
Get the element raised to an exponent.
|
![]() | PowInt |
Get the element raised to an exponent.
|
![]() | ToString | Returns a string that represents the current object. (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
![]() ![]() | Addition |
Adds two FieldWrapperTs.
|
![]() ![]() | Division |
Divides two FieldWrapperTs.
|
![]() ![]() | ExclusiveOr(FieldWrapperT, Int32) |
Raises a FieldWrapperT to the power of an integer.
|
![]() ![]() | ExclusiveOr(FieldWrapperT, FieldWrapperT) |
Raises a FieldWrapperT to the power of another.
|
![]() ![]() | (FieldWrapperT to NullableDouble) |
Convert a FieldWrapperT to a nullable Double.
|
![]() ![]() | (FieldWrapperT to Double) |
Convert a FieldWrapperT to a nullable Double.
|
![]() ![]() | GreaterThan |
Compare two FieldWrapperTs.
|
![]() ![]() | GreaterThanOrEqual |
Compare two FieldWrapperTs.
|
![]() ![]() | (Double to FieldWrapperT) |
Converts an element by wrapping it.
|
![]() ![]() | (Int32 to FieldWrapperT) |
Converts an element by wrapping it.
|
![]() ![]() | (UInt64 to FieldWrapperT) |
Converts an element by wrapping it.
|
![]() ![]() | (T to FieldWrapperT) |
Converts an element by wrapping it.
|
![]() ![]() | (FieldWrapperT to T) |
Convert a FieldWrapperT to its underlying type.
|
![]() ![]() | LessThan |
Compare two FieldWrapperTs.
|
![]() ![]() | LessThanOrEqual |
Compare two FieldWrapperTs.
|
![]() ![]() | Modulus |
Modulo two FieldWrapperTs.
|
![]() ![]() | Multiply |
Multiplies two FieldWrapperTs.
|
![]() ![]() | Subtraction |
Subtracts two FieldWrapperTs.
|
![]() ![]() | UnaryNegation |
Negates a FieldWrapperT.
|