public void Apply(DocumentCollectionCreated evt) { Id = evt.AggregateId; }
protected DocumentCollection(string collectionName) { var @event = new DocumentCollectionCreated(CombGuid.Generate(), collectionName); RaiseEvent(@event); }