Exemple #1
0
        public bool Equals(MetadataKey other)
        {
            Equality eq = new Equality();

            eq.Add(this.MetadataType, other?.MetadataType);
            eq.Add(this.Name, other?.Name, this.Comparer);

            return(eq.ToEquals());
        }
        public bool Equals(MetadataIdentity other)
        {
            Equality eq = new Equality();

            eq.Add(this.Name, other.Name, this.Notation.Comparer);
            eq.Add(this.Schema, other.Schema);

            return(eq.ToEquals());
        }
        public bool Equals(QueryCacheKey <T> other)
        {
            Equality eq = new Equality();

            eq.Add(this.Schema, other?.Schema);
            eq.Add(this.Type, other?.Type);
            eq.AddRange(this.Header, other?.Header);

            return(eq.ToEquals());
        }
        public bool Equals(BufferCacheKey other)
        {
            if (other == null)
            {
                return(false);
            }

            Equality eq = new Equality();

            eq.Add(this.Target, other?.Target);
            eq.AddRange(this.Key, other?.Key);

            return(eq.ToEquals());
        }