public OutcomeContext AddNewOutcomeContext(Outcome outcome, WarningContext warningContext) { Contract.Requires(outcome != null); Contract.Ensures(Contract.Result <OutcomeContext>() != null); throw new NotImplementedException(); }
public OutcomeContext AddNewOutcomeContext(Outcome outcome, WarningContext context) { if (!this.IsValid) { return(null); } var result = this.model.NewOutcomeContext(outcome); result.WarningContext = context; return(result); }
protected override void Render(HtmlTextWriter writer) { if (WarningContext.Count == 0) { return; } if (this.Attributes["class"] == null) { this.Attributes.Add("class", CssClasses.Warning); } this.Text = WarningContext.GetAll(Format, Seperator, KeyFilter); base.Render(writer); }
public OutcomeContext AddNewOutcomeContext(Outcome outcome, WarningContext warningContext) { return(underlying.AddNewOutcomeContext(outcome, warningContext)); }