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; }
public KeyHashingTransientDataRepository(ITransientDataRepository <T> inner) : this(Constants.DefaultHashAlgorithm, inner) { }