Namespace: DeltaEngine.Datatypes
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Tests.Datatypes.Vector3DTests
1 unit tests call DeltaEngine.Datatypes.Vector3D.GetHashCode
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Return Value
Type: Int32Remarks
Examples
[Test] public void GetHashCodeViaDictionary() { var vector3DValues = new Dictionary<Vector3D, int> { { v1, 1 }, { v2, 2 } }; Assert.IsTrue(vector3DValues.ContainsKey(v1)); Assert.IsTrue(vector3DValues.ContainsKey(v2)); Assert.IsFalse(vector3DValues.ContainsKey(new Vector3D(5, 6, 7))); }
See Also