public RepositoryManager( RepositoryCreator creator, RepositorySaver saver, RepositoryLoader loader ) { Creator = creator; Saver = saver; Loader = loader; }
public RepositoryManager() { var fileNamer = new RepositoryFileNamer(); Creator = new RepositoryCreator( fileNamer ); Saver = new RepositorySaver( fileNamer ); Loader = new RepositoryLoader(); }