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