protected override bool FromInternalKeyToStackKey(StrongKey <TStrongKey> internalKey, out StrongKey <TStrongKey> externalKey) { externalKey = internalKey; return(true); }
protected override StrongKey <TStrongKey> FromStackKeyToStorageKey(StrongKey <TStrongKey> externalKey) { return(externalKey); }
protected override bool FromInternalKeyToExternalKey(StrongKey <TStrongKey> internalKey, out TStrongKey externalKey) { externalKey = internalKey._element; return(true); }
protected override bool FromInternalKeyToStackKey(StrongKey <TStrongKey> internalKey, out Stacktype <TStrongKey> externalKey) { externalKey = Stacktype.Create(internalKey._element); return(true); }
public int GetHashCode(ref StrongKey <E> obj, bool objIsWeak) { return(_equalityComparer.GetHashCode(obj._element)); }
public bool Equals(ref StrongKey <E> x, bool xIsWeak, ref StrongKey <E> y, bool yIsWeak) { return(_equalityComparer.Equals(x._element, y._element)); }
public int GetHashCode(StrongKey <S> obj) { return(_strongValueComparer.GetHashCode(obj._element)); }
public bool Equals(StrongKey <S> x, StrongKey <S> y) { return(_strongValueComparer.Equals(x._element, y._element)); }