Beispiel #1
0
 public Media(NotNullable<byte[]> content, NotNullOrWhiteSpaceString mediaType)
 {
     Content = content;
     MediaType = mediaType;
 }
Beispiel #2
0
 public NameChanged(Guid aggregateId, NotNullOrWhiteSpaceString newName)
 {
     AggregateId = aggregateId;
     NewName = newName;
 }
 public IngredientRemoved(Guid aggregateId, Guid ingredientId, NotNullOrWhiteSpaceString quantity)
     : base(ingredientId, quantity)
 {
     AggregateId = aggregateId;
 }
Beispiel #4
0
 public AddStep(uint order, NotNullOrWhiteSpaceString explanation)
     : base(order, explanation)
 { }
Beispiel #5
0
 public StepAdded(Guid aggregateId, uint order, NotNullOrWhiteSpaceString explanation,byte[] image)
     : base(order, explanation, image)
 {
     AggregateId = aggregateId;
 }
Beispiel #6
0
 public ChangeName(NotNullOrWhiteSpaceString newName)
 {
     NewName = newName;
 }
Beispiel #7
0
 public Step(uint order, NotNullOrWhiteSpaceString explanation, byte[] image)
 {
     Order = order;
     Explanation = explanation;
     Image = image;
 }
Beispiel #8
0
 public Ingredient(Guid id, NotNullOrWhiteSpaceString quantity)
 {
     Id = id;
     Quantity = quantity;
 }
Beispiel #9
0
 public AddIngredient(Guid id, NotNullOrWhiteSpaceString quantity)
     : base(id, quantity)
 {
 }