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)
263
Debug.Assert(
_xmlNode
.Attributes != null);
265
if (
_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?
284
null :
_xmlNode
.Attributes["name"].Value;
286
_compare =
_xmlNode
.Attributes["compare"] == null?
287
null :
_xmlNode
.Attributes["compare"].Value;
289
_argument =
_xmlNode
.Attributes["argument"] == null?
290
null :
_xmlNode
.Attributes["argument"].Value;
292
_type =
_xmlNode
.Attributes["type"] == null?
293
null :
_xmlNode
.Attributes["type"].Value;
295
_method =
_xmlNode
.Attributes["method"] == null?
296
null :
_xmlNode
.Attributes["method"].Value;
301
Debug.Assert(
_xmlNode
!= null);
303
if (
_xmlNode
.ParentNode != null)
305
_xmlNode
.ParentNode.RemoveChild(
_xmlNode
);
311
Debug.Assert(
_xmlNode
!= null);
313
if (
_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");
326
if (
_xmlNode
.Attributes["compare"] == null)
328
_xmlNode
.Attributes.Append(_webConfig.Document.CreateAttribute("compare"));
330
_xmlNode
.Attributes["compare"].Value = Compare;
332
if (
_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");
346
if (
_xmlNode
.Attributes["type"] == null)
348
_xmlNode
.Attributes.Append(_webConfig.Document.CreateAttribute("type"));
350
_xmlNode
.Attributes["type"].Value = Type;
352
if (
_xmlNode
.Attributes["method"] == null)
354
_xmlNode
.Attributes.Append(_webConfig.Document.CreateAttribute("method"));
356
_xmlNode
.Attributes["method"].Value = Method;
362
filters.AppendChild(
_xmlNode
);