Пример #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);
        }
Пример #2
0
 public void MarkChangesAsCommitted()
 {
     _eventApplier = new EventApplier(this);
 }
Пример #3
0
 public Repository()
 {
     _eventApplier    = new EventApplier(this);
     _sourcefilenames = new List <Sourcefile>();
 }