Exemple #1
0
        public Repository(Guid id, string name, List <string> sourcefilenames)
        {
            _eventApplier = new EventApplier(this);
            _eventApplier.Apply(new RepositoryImported(id, name));
            _sourcefilenames = new List <Sourcefile>();

            ImportSourcefiles(sourcefilenames);
        }
Exemple #2
0
 public void MarkChangesAsCommitted()
 {
     _eventApplier = new EventApplier(this);
 }
Exemple #3
0
 public Repository()
 {
     _eventApplier    = new EventApplier(this);
     _sourcefilenames = new List <Sourcefile>();
 }