public ReadOnlyHistory(IRememberHashCodes inner) { _inner = inner; var scopeFactory = _inner.ScopeFactory; _inner.ScopeFactory = p => new ReadOnlyScope(scopeFactory(p)); }
public PruneHistoryCommand(IOutput output, IDuplicateFinder duplicateFinder, IRememberHashCodes history) { DuplicateFinder = duplicateFinder; _output = output; History = history; }