Struct ParameterKeyInfo
[DataContract]
public struct ParameterKeyInfo : IEquatable<ParameterKeyInfo>
- Implements
- Extension Methods
Constructors
ParameterKeyInfo(ParameterKey, int)
public ParameterKeyInfo(ParameterKey key, int bindingSlot)
Parameters
keyParameterKeybindingSlotint
ParameterKeyInfo(ParameterKey, int, int)
public ParameterKeyInfo(ParameterKey key, int offset, int count)
Parameters
keyParameterKeyoffsetintcountint
Fields
BindingSlot
public int BindingSlot
Field Value
Count
public int Count
Field Value
Invalid
public const int Invalid = -1
Field Value
Key
public ParameterKey Key
Field Value
Offset
public int Offset
Field Value
Properties
IsResourceParameter
public readonly bool IsResourceParameter { get; }
Property Value
IsValueParameter
public readonly bool IsValueParameter { get; }
Property Value
Methods
Equals(ParameterKeyInfo)
Indicates whether the current object is equal to another object of the same type.
public readonly bool Equals(ParameterKeyInfo other)
Parameters
otherParameterKeyInfoAn object to compare with this object.
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override readonly bool Equals(object obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override readonly int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override readonly string ToString()
Returns
- string
The fully qualified type name.
Operators
operator ==(ParameterKeyInfo, ParameterKeyInfo)
public static bool operator ==(ParameterKeyInfo left, ParameterKeyInfo right)
Parameters
leftParameterKeyInforightParameterKeyInfo
Returns
operator !=(ParameterKeyInfo, ParameterKeyInfo)
public static bool operator !=(ParameterKeyInfo left, ParameterKeyInfo right)
Parameters
leftParameterKeyInforightParameterKeyInfo