Exemplo n.º 1
0
        public static int Compare(CByte Left, CByte Right)
        {
            if (ReferenceEquals(Right, null))
            {
                return(-1);
            }
            else if (ReferenceEquals(Left, null))
            {
                return(1);
            }

            return(Compare(Left.Bytes, Right.Bytes));
        }
Exemplo n.º 2
0
 public static int Compare(CByte Left, byte[] Right)
 {
     return(Compare(Left.Bytes, Right));
 }
Exemplo n.º 3
0
 public static int Compare(byte[] Left, CByte Right)
 {
     return(Compare(Left, Right.Bytes));
 }
Exemplo n.º 4
0
 public int CompareTo(CByte HashObject)
 {
     return(Compare(this.Bytes, HashObject.Bytes));
 }
Exemplo n.º 5
0
 public abstract bool Remove(CByte Key);
Exemplo n.º 6
0
 public abstract CacheItem Get(CByte Key);
Exemplo n.º 7
0
 public abstract T Get <T>(CByte Key) where T : Hashable;
Exemplo n.º 8
0
 public abstract bool Exists(CByte Key);
Exemplo n.º 9
0
 public abstract bool AddOrUpdate <T>(CByte Key, T Value, TimeSpan ExpireSpan) where T : Hashable;