public UniversalAdapter(string tagName, bool encodeContent) { Contract.Requires(tagName != null); TagName = tagName; this.EncodeContent = encodeContent; }