Show / Hide Table of Contents

Class ConstantLoaderComparer

Permite comparar la igualdad entre dos IConstantLoader basado en el tipo de constante que ambos son capaces de cargar.

Inheritance
object
ConstantLoaderComparer
Implements
IEqualityComparer<IConstantLoader>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Types.Extensions
Assembly: MCART.TypeFactory.dll
Syntax
public class ConstantLoaderComparer : IEqualityComparer<IConstantLoader>

Methods

| Edit this page View Source

Equals(IConstantLoader?, IConstantLoader?)

Compara dos instancias de IConstantLoader.

Declaration
public bool Equals(IConstantLoader? x, IConstantLoader? y)
Parameters
Type Name Description
IConstantLoader x

Primer objeto a comparar.

IConstantLoader y

Segundo objeto a comparar.

Returns
Type Description
bool

true si ambos objetos cargan constantes del mismo tipo, false en caso contrario.

| Edit this page View Source

GetHashCode(IConstantLoader)

Obtiene el código hash de una instancia de IConstantLoader que puede ser utilizado para comparar el tipo de constante que el objeto es capaz de cargar.

Declaration
public int GetHashCode(IConstantLoader obj)
Parameters
Type Name Description
IConstantLoader obj

Objeto desde el cual obtener el código hash.

Returns
Type Description
int

El código hash del tipo de constante que el objeto es capaz de cargar.

Implements

IEqualityComparer<T>

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowClone<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX