Click or drag to resize

FieldWrapperT Class

Inheritance Hierarchy
SystemObject
  WhetStone.FieldingFieldWrapperT

Namespace:  WhetStone.Fielding
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public class FieldWrapper<T> : IComparable<T>, 
	IComparable<FieldWrapper<T>>, IEquatable<T>, IEquatable<FieldWrapper<T>>

Type Parameters

T
The type of the original wrapped element.

The FieldWrapperT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyField
Public propertyisNegative
Get whether the element is strictly negative.
Public propertyisOne
Get whether the element is one.
Public propertyisPositive
Get whether the element is strictly positive.
Public propertyisZero
Get whether the element is zero.
Public propertyval
The wrapped value.
Top
Methods
  NameDescription
Public methodAbs
Get the absolute value of the element.
Public methodCompareTo(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.
Public methodCompareTo(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.
Public methodDeconstruct
Deconstruct the wrapped member to an original member and wrapping field.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(T)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(FieldWrapperT)
Indicates whether the current object is equal to another object of the same type.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvert
Gets the inverted value of val.
Public methodLog
Get the logarithm of the element.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPow
Get the element raised to an exponent.
Public methodPowInt
Get the element raised to an exponent.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Adds two FieldWrapperTs.
Public operatorStatic memberDivision
Divides two FieldWrapperTs.
Public operatorStatic memberExclusiveOr(FieldWrapperT, Int32)
Raises a FieldWrapperT to the power of an integer.
Public operatorStatic memberExclusiveOr(FieldWrapperT, FieldWrapperT)
Raises a FieldWrapperT to the power of another.
Public operatorStatic member(FieldWrapperT to NullableDouble)
Convert a FieldWrapperT to a nullable Double.
Public operatorStatic member(FieldWrapperT to Double)
Convert a FieldWrapperT to a nullable Double.
Public operatorStatic memberGreaterThan
Compare two FieldWrapperTs.
Public operatorStatic memberGreaterThanOrEqual
Compare two FieldWrapperTs.
Public operatorStatic member(Double to FieldWrapperT)
Converts an element by wrapping it.
Public operatorStatic member(Int32 to FieldWrapperT)
Converts an element by wrapping it.
Public operatorStatic member(UInt64 to FieldWrapperT)
Converts an element by wrapping it.
Public operatorStatic member(T to FieldWrapperT)
Converts an element by wrapping it.
Public operatorStatic member(FieldWrapperT to T)
Convert a FieldWrapperT to its underlying type.
Public operatorStatic memberLessThan
Compare two FieldWrapperTs.
Public operatorStatic memberLessThanOrEqual
Compare two FieldWrapperTs.
Public operatorStatic memberModulus
Modulo two FieldWrapperTs.
Public operatorStatic memberMultiply
Multiplies two FieldWrapperTs.
Public operatorStatic memberSubtraction
Subtracts two FieldWrapperTs.
Public operatorStatic memberUnaryNegation
Negates a FieldWrapperT.
Top
See Also