 | ObjectXEqualsT Method |
Determines if the specified other object is equal to the referenced value type.
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic static bool Equals<T>(
ref T thisObj,
Object otherObj
)
where T : struct, new()
Parameters
- thisObj
- Type: T
The referenced struct object. - otherObj
- Type: SystemObject
Other object.
Type Parameters
- T
- The type of the struct.
Return Value
Type:
Boolean if the two objects are equal; otherwise,
.
Remarks
Use this method to implement
Equals(T) for custom structs.
See Also