public Campaign(int ano, string descricao, int qtdeCriancas) { Id = Guid.NewGuid(); Year = ano; Description = descricao; ChildrensQty = qtdeCriancas; State = new NotStarted(); }
public Campaign(Guid id, int ano, string descricao, int qtdeCriancas, ICampaignState state) { Id = id; Year = ano; Description = descricao; ChildrensQty = qtdeCriancas; State = state; }
public Campaign(int ano, string descricao) { Id = Guid.NewGuid(); Year = ano; Description = descricao; ChildrensQty = 0; State = new NotStarted(); }
public CampaignContext(ICampaignState state) { this.State = state; }