示例#1
0
 private void WriteAssertionInfo(AcceptanceCriterion acceptanceCriterion)
 {
     foreach (var assertion in acceptanceCriterion.GetAllAssertions())
     {
         Console.WriteLine(IndentAssertion + assertion.LabelConcept + ": " + _assertionActionToString.GetString(assertion.Action));
         WriteNotes(assertion.Notes, indent: IndentAssertion + NoteIndent);
     }
 }
示例#2
0
        public AkzeptanzKriterium_ AkzeptanzKriterium(string beschreibung)
        {
            var parentAceptanceCriterion = (AcceptanceCriterion) ParentAkzeptanzkriterium.GetConceptNode();

            var modelAcceptanceCriterion = new AcceptanceCriterion(AkzeptanzKriterium_.LabelConcept, beschreibung, (parentAceptanceCriterion.ParentCustomer));
            parentAceptanceCriterion.ParentCustomer.Add(modelAcceptanceCriterion);

            return new AkzeptanzKriterium_(modelAcceptanceCriterion, ParentAkzeptanzkriterium.ParentKunde);
        }
示例#3
0
        public AceptanceCriterion_ AceptanceCriterion(string beschreibung)
        {
            var parentAceptanceCriterion = (AcceptanceCriterion) ParentAceptanceCriterion.GetConceptNode();

            var modelAcceptanceCriterion = new AcceptanceCriterion(English.AceptanceCriterion_.LabelConcept, beschreibung, (parentAceptanceCriterion.ParentCustomer));
            parentAceptanceCriterion.ParentCustomer.Add(modelAcceptanceCriterion);

            return new AceptanceCriterion_(modelAcceptanceCriterion, ParentAceptanceCriterion.ParentCustomer);
        }
示例#4
0
        public AceptanceCriterion_ AkzeptanzKriterium(string beschreibung)
        {
            var modelAcceptanceCriterion =
                new AcceptanceCriterion(
                    AceptanceCriterion_.LabelConcept,
                    beschreibung,
                    _modelContext.ParentAceptanceCriterion.ParentCustomer
            );

            _modelContext.
                ParentAceptanceCriterion.
                ParentCustomer.Add(modelAcceptanceCriterion);

            return new AceptanceCriterion_(modelAcceptanceCriterion, ParentGiven.ParentAceptanceCriterion.ParentCustomer);
        }
 public AkzeptanzKriterium_ AkzeptanzKriterium(string beschreibung)
 {
     var modelAcceptanceCriterion = new AcceptanceCriterion(LabelConcept, beschreibung, _modelAcceptanceCriterion.ParentCustomer );
     _modelAcceptanceCriterion.ParentCustomer.Add(modelAcceptanceCriterion);
     return new AkzeptanzKriterium_(modelAcceptanceCriterion, ParentKunde);
 }
 public AkzeptanzKriterium_(AcceptanceCriterion modelAcceptanceCriterion, Kunde parentKunde)
     : base(parentKunde)
 {
     _modelAcceptanceCriterion = modelAcceptanceCriterion;
     ParentKunde = parentKunde;
 }
示例#7
0
 public AceptanceCriterion_ AceptanceCriterion(string beschreibung)
 {
     var modelAcceptanceCriterion = new AcceptanceCriterion(English.AceptanceCriterion_.LabelConcept , beschreibung, _modelCustomer);
     _modelCustomer.Add(modelAcceptanceCriterion);
     return new AceptanceCriterion_(modelAcceptanceCriterion, this);
 }
示例#8
0
 public void Add(AcceptanceCriterion acceptanceCriterion)
 {
     AcceptanceCriteria.Add(acceptanceCriterion);
 }
 public AceptanceCriterion_ AceptanceCriterion(string beschreibung)
 {
     var modelAcceptanceCriterion = new AcceptanceCriterion(LabelConcept, beschreibung, _modelAcceptanceCriterion.ParentCustomer );
     _modelAcceptanceCriterion.ParentCustomer.Add(modelAcceptanceCriterion);
     return new AceptanceCriterion_(modelAcceptanceCriterion, ParentCustomer);
 }
示例#10
0
 public AceptanceCriterion_(AcceptanceCriterion modelAcceptanceCriterion, Customer_ parentCustomer)
     : base(parentCustomer)
 {
     _modelAcceptanceCriterion = modelAcceptanceCriterion;
     ParentCustomer = parentCustomer;
 }