public Customer_ As(ICustomerDescription kundenBeschreibung) { var modelCustomer = new Customer(Customer_.LabelConcept, kundenBeschreibung, _modelContext.ParentAceptanceCriterion.ParentCustomer.ParentUserStory); _modelContext.ParentAceptanceCriterion. ParentCustomer. ParentUserStory.AddCustomer(modelCustomer); return new Customer_(modelCustomer, ParentGiven. ParentAceptanceCriterion. ParentCustomer. ParentRequirement); }
private void WriteAcceptanceInfo(Customer customer) { foreach (var acceptanceCriterion in customer.AcceptanceCriteria) { Console.WriteLine(IndentAceptanceCriteria + acceptanceCriterion.Label); WriteNotes(acceptanceCriterion.Notes, indent: IndentAceptanceCriteria + NoteIndent); if (!acceptanceCriterion.IsDraft) { if (acceptanceCriterion.HasContext) { Console.WriteLine(IndentContext + acceptanceCriterion.Context.Label); WriteNotes(acceptanceCriterion.Context.Notes, indent: IndentContext + NoteIndent); foreach(var contextInfo in acceptanceCriterion.Context.Settings) Console.WriteLine(IndentContextSetting + contextInfo.Label + _assertionActionToString.GetString(contextInfo.Action)); } WriteAssertionInfo(acceptanceCriterion); } } }
public AcceptanceCriterion(string labelConcept, string acceptanceContent, Customer parentCustomer) : base(labelConcept, acceptanceContent) { ParentCustomer = parentCustomer; }
public Feature AddSponsor(Customer customer) { Customers.Add(customer); return this; }
public void AddCustomer(Customer customer) { Customers.Add(customer); }
public Customer_(Customer modelCustomer, Requirement_ parentRequirement) : base(parentRequirement) { _modelCustomer = modelCustomer; ParentRequirement = parentRequirement; }
public Kunde Als(ICustomerDescription kunde) { var modelCustomer = new Customer(Kunde.LabelConcept, kunde, _modelUserStory); _modelUserStory.AddCustomer(modelCustomer); return new Kunde(modelCustomer, this); }
public Kunde Als(string name) { var modelCustomer = new Customer(Kunde.LabelConcept, name, _modelUserStory); _modelUserStory.AddCustomer(modelCustomer); return new Kunde(modelCustomer, this); }
public Customer_ As(ICustomerDescription customer) { var modelCustomer = new Customer(Customer_.LabelConcept, customer, _modelUserStory); _modelUserStory.AddCustomer(modelCustomer); return new Customer_(modelCustomer, this); }
public Customer_ As(string name) { var modelCustomer = new Customer(Customer_.LabelConcept, name, _modelUserStory); _modelUserStory.AddCustomer(modelCustomer); return new Customer_(modelCustomer, this); }