RazorEngine


TypeHash

Defined in RazorEngine.dll.

Type that Encompasses Hashing a group of Types in various ways

Constructors

ConstructorDescription
new(moreTypes)
Signature: moreTypes:IEnumerable<Type> -> unit

Initializes a new instance of the TypeHash class.

new(type1, moreTypes)
Signature: (type1:Type * moreTypes:Type []) -> unit

Initializes a new instance of the TypeHash class. For use when you have must distinguish one type; and the rest aren't strict

new(type1, informalInterface)
Signature: (type1:Type * informalInterface:IDictionary<string,Type>) -> unit

Initializes a new instance of the TypeHash class.

new(strictOrder, moreTypes)
Signature: (strictOrder:bool * moreTypes:MemberInfo []) -> unit

Initializes a new instance of the TypeHash class.

Instance members

Instance memberDescription
Equals(other)
Signature: other:TypeHash -> bool

Equalses the specified other.

Returns:

Equals(obj)
Signature: obj:obj -> bool
Modifiers: abstract

Determines whether the specified Object is equal to this instance.

Returns: true if the specified is equal to this instance; otherwise, false.

GetHashCode()
Signature: unit -> int
Modifiers: abstract

Returns a hash code for this instance.

Returns: A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Static members

Static memberDescription
Create(moreTypes)
Signature: moreTypes:IEnumerable<Type> -> TypeHash

Creates the TypeHash

Returns:

Create(type1, moreTypes)
Signature: (type1:Type * moreTypes:Type []) -> TypeHash

Creates the TypeHash

Returns:

Create(type1, informalInterface)
Signature: (type1:Type * informalInterface:IDictionary<string,Type>) -> TypeHash

Creates the TypeHash

Returns:

Create(strictOrder, moreTypes)
Signature: (strictOrder:bool * moreTypes:MemberInfo []) -> TypeHash

Creates the TypeHash

Returns:

op_Equality(left, right)
Signature: (left:TypeHash * right:TypeHash) -> bool

Implements the operator ==.

Returns: The result of the operator.

op_Inequality(left, right)
Signature: (left:TypeHash * right:TypeHash) -> bool

Implements the operator !=.

Returns: The result of the operator.

Fork me on GitHub