Exemplo n.º 1
0
 public RepositoryManager(
     RepositoryCreator creator,
     RepositorySaver saver,
     RepositoryLoader loader
     )
 {
     Creator = creator;
     Saver   = saver;
     Loader  = loader;
 }
Exemplo n.º 2
0
        public RepositoryManager()
        {
            var fileNamer = new RepositoryFileNamer();

            Creator = new RepositoryCreator(
                fileNamer
                );
            Saver = new RepositorySaver(
                fileNamer
                );
            Loader = new RepositoryLoader();
        }