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

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