Beispiel #1
0
        public KeyHashingTransientDataRepository(string hashName, ITransientDataRepository <T> inner)
        {
            if (String.IsNullOrWhiteSpace(hashName))
            {
                throw new ArgumentNullException("hashName");
            }
            if (inner == null)
            {
                throw new ArgumentNullException("inner");
            }

            this.hashName = hashName;
            this.inner    = inner;
        }
Beispiel #2
0
 public KeyHashingTransientDataRepository(ITransientDataRepository <T> inner)
     : this(Constants.DefaultHashAlgorithm, inner)
 {
 }