Generated by DocFX

Class ArrayComparer<T>

Elementwise comparer for arrays.

Inheritance
System.Object
ArrayComparer<T>
Namespace: ISynergy.Framework.Mathematics.Comparers
Assembly: ISynergy.Framework.Mathematics.dll
Syntax
public class ArrayComparer<T> : IEqualityComparer<T[]> where T : IEquatable<T>
Type Parameters
Name Description
T

Methods

View Source

Equals(T[], T[])

Determines whether two instances are equal.

Declaration
public bool Equals(T[] x, T[] y)
Parameters
Type Name Description
T[] x

The first object to compare.

T[] y

The second object to compare.

Returns
Type Description
System.Boolean

true if the specified object is equal to the other; otherwise, false.

View Source

GetHashCode(T[])

Returns a hash code for a given instance.

Declaration
public int GetHashCode(T[] obj)
Parameters
Type Name Description
T[] obj

The instance.

Returns
Type Description
System.Int32

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

Extension Methods

Matrix.Replace<T>(T, Object, Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
EntityBaseExtensions.HasProperty(Object, String)
ArrayExtensions.Concatenate<T>(T, T[])
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>)
ObjectExtensions.Clone<T>(T)
ObjectExtensions.To<T>(Object)
ObjectExtensions.To(Object, Type)
ObjectExtensions.HasMethod(Object, String)
ObjectExtensions.AddressOf<T>(T)
ReflectionExtensions.GetIdentityValue<T>(T)
ReflectionExtensions.GetIdentityValue<T, TResult>(T)
ReflectionExtensions.GetIdentityProperty<T>(T)
ReflectionExtensions.HasIdentityProperty<T>(T)
ReflectionExtensions.GetPropertyValue<T, TResult>(T, String, TResult)
ReflectionExtensions.GetPropertyInfo<T, TValue>(T, Expression<Func<T, TValue>>)
ReflectionExtensions.GetTitleValue<T>(T)
ReflectionExtensions.HasParentIdentityProperty<T>(T)
ReflectionExtensions.GetParentIdentityProperty<T>(T)
ReflectionExtensions.IsFreeApplication<T>(T)