예제 #1
0
        public ReadOnlyHistory(IRememberHashCodes inner)
        {
            _inner = inner;

              var scopeFactory = _inner.ScopeFactory;
              _inner.ScopeFactory = p => new ReadOnlyScope(scopeFactory(p));
        }
예제 #2
0
 public PruneHistoryCommand(IOutput output,
     IDuplicateFinder duplicateFinder,
     IRememberHashCodes history)
 {
     DuplicateFinder = duplicateFinder;
       _output = output;
       History = history;
 }