/// <summary> /// Initializes a new instance of the <see cref="IntermediateCache{TObject, TKey}"/> class. /// </summary> /// <param name="source">The source.</param> /// <exception cref="System.ArgumentNullException">source</exception> public IntermediateCache(IObservable <IChangeSet <TObject, TKey> > source) { if (source == null) { throw new ArgumentNullException("source"); } _innnerCache = new ObservableCache <TObject, TKey>(source); }
/// <summary> /// Initializes a new instance of the <see cref="IntermediateCache{TObject, TKey}"/> class. /// </summary> public IntermediateCache() { _innnerCache = new ObservableCache <TObject, TKey>(); }