/// <summary> /// Appends attribute value to outer tag. /// </summary> /// <param name="level"></param> /// <param name="key"></param> /// <param name="attrValue"></param> /// <returns></returns> public FeedbackMessageRenderer AppendOuterAttributeValue(FeedbackMessageLevel level, string key, string attrValue) { FeedbackMessageAttributeCollection attrCollection; if (PerLevelOuterTagAttributes.ContainsKey(level)) { attrCollection = PerLevelOuterTagAttributes[level]; } else { attrCollection = new FeedbackMessageAttributeCollection(); PerLevelOuterTagAttributes[level] = attrCollection; } attrCollection.AppendAttribute(key, attrValue); return(this); }
/// <summary> /// Constructor. /// </summary> public FeedbackMessage(FeedbackMessageLevel level, Object message) { this.Level = level; this.Message = message; }