2 writes to _xmlNode
System.Web.Mobile (2)
UI\MobileControls\Design\Util\WebConfigManager.cs (2)
250_xmlNode = webConfig.Document.CreateElement("filter"); 261_xmlNode = xmlNode;
41 references to _xmlNode
System.Web.Mobile (41)
UI\MobileControls\Design\Util\WebConfigManager.cs (41)
263Debug.Assert(_xmlNode.Attributes != null); 265if (_xmlNode.Attributes["type"] != null) 269_xmlNode.Attributes["argument"] == null && _xmlNode.Attributes["compare"] == null, 278_xmlNode.Attributes["type"] == null && _xmlNode.Attributes["method"] == null, 283_name = _xmlNode.Attributes["name"] == null? 284null : _xmlNode.Attributes["name"].Value; 286_compare = _xmlNode.Attributes["compare"] == null? 287null : _xmlNode.Attributes["compare"].Value; 289_argument = _xmlNode.Attributes["argument"] == null? 290null : _xmlNode.Attributes["argument"].Value; 292_type = _xmlNode.Attributes["type"] == null? 293null : _xmlNode.Attributes["type"].Value; 295_method = _xmlNode.Attributes["method"] == null? 296null : _xmlNode.Attributes["method"].Value; 301Debug.Assert(_xmlNode != null); 303if (_xmlNode.ParentNode != null) 305_xmlNode.ParentNode.RemoveChild(_xmlNode); 311Debug.Assert(_xmlNode != null); 313if (_xmlNode.Attributes["name"] == null) 315_xmlNode.Attributes.Append(_webConfig.Document.CreateAttribute("name")); 317_xmlNode.Attributes["name"].Value = Name; 323_xmlNode.Attributes.RemoveNamedItem("type"); 324_xmlNode.Attributes.RemoveNamedItem("method"); 326if (_xmlNode.Attributes["compare"] == null) 328_xmlNode.Attributes.Append(_webConfig.Document.CreateAttribute("compare")); 330_xmlNode.Attributes["compare"].Value = Compare; 332if (_xmlNode.Attributes["argument"] == null) 334_xmlNode.Attributes.Append(_webConfig.Document.CreateAttribute("argument")); 336_xmlNode.Attributes["argument"].Value = Argument; 343_xmlNode.Attributes.RemoveNamedItem("compare"); 344_xmlNode.Attributes.RemoveNamedItem("argument"); 346if (_xmlNode.Attributes["type"] == null) 348_xmlNode.Attributes.Append(_webConfig.Document.CreateAttribute("type")); 350_xmlNode.Attributes["type"].Value = Type; 352if (_xmlNode.Attributes["method"] == null) 354_xmlNode.Attributes.Append(_webConfig.Document.CreateAttribute("method")); 356_xmlNode.Attributes["method"].Value = Method; 362filters.AppendChild(_xmlNode);