public bool Add(TableResolver resolver) { if (fList.Contains(resolver)) { var srcResolver = fList[resolver.TableName]; srcResolver.MergeCommand(resolver); return(false); } fList.Add(resolver); return(true); }
private void AddAttribute(HtmlAttribute attr) { if (attr == null) { return; } if (fAttrs.Contains(attr)) { HtmlAttribute curAttr = fAttrs[attr.Name]; curAttr.Value = attr.Value; } else { fAttrs.Add(attr); } }