示例#1
0
        public void Create(CollectionIdentity identity, string name, int wipLimit)
        {
            var created = new CollectionCreated(identity.Id, name, wipLimit);

            Apply(created);
        }
示例#2
0
 protected void When(CollectionCreated collectionCreated)
 {
 }
示例#3
0
 public void When(CollectionCreated collectionCreated)
 {
     Identity = new CollectionIdentity(collectionCreated.Id);
     Name = collectionCreated.Name;
     WipLimit = collectionCreated.WipLimit;
 }