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