コード例 #1
0
ファイル: XmlNode.cs プロジェクト: wade1990/SyncWinRT
 protected XmlNode(XmlNodeType nodeType, StringHandle localName, ValueHandle value,
                   XmlNodeFlags nodeFlags, ReadState readState, XmlAttributeTextNode attributeTextNode, int depthDelta)
 {
     this.nodeType  = nodeType;
     this.localName = localName;
     this.value     = value;
     //this.ns = NamespaceManager.EmptyNamespace;
     this.hasValue          = (nodeFlags & XmlNodeFlags.HasValue) != XmlNodeFlags.None;
     this.canGetAttribute   = (nodeFlags & XmlNodeFlags.CanGetAttribute) != XmlNodeFlags.None;
     this.canMoveToElement  = (nodeFlags & XmlNodeFlags.CanMoveToElement) != XmlNodeFlags.None;
     this.IsAtomicValue     = (nodeFlags & XmlNodeFlags.AtomicValue) != XmlNodeFlags.None;
     this.skipValue         = (nodeFlags & XmlNodeFlags.SkipValue) != XmlNodeFlags.None;
     this.hasContent        = (nodeFlags & XmlNodeFlags.HasContent) != XmlNodeFlags.None;
     this.readState         = readState;
     this.attributeTextNode = attributeTextNode;
     this.exitScope         = nodeType == XmlNodeType.EndElement;
     this.depthDelta        = depthDelta;
     this.isEmptyElement    = false;
     this.quoteChar         = '"';
 }
コード例 #2
0
ファイル: XmlNode.cs プロジェクト: wade1990/SyncWinRT
 protected XmlTextNode(XmlNodeType nodeType, StringHandle localName, ValueHandle value, XmlNodeFlags nodeFlags, ReadState readState, XmlAttributeTextNode attributeTextNode, int depthDelta)
     : base(nodeType, localName, value, nodeFlags, readState, attributeTextNode, depthDelta)
 {
 }
コード例 #3
0
ファイル: XmlNode.cs プロジェクト: dkmehta/SyncWinRT
 protected XmlTextNode(XmlNodeType nodeType, StringHandle localName, ValueHandle value, XmlNodeFlags nodeFlags, ReadState readState, XmlAttributeTextNode attributeTextNode, int depthDelta)
     : base(nodeType, localName, value, nodeFlags, readState, attributeTextNode, depthDelta)
 {
 }
コード例 #4
0
ファイル: XmlNode.cs プロジェクト: dkmehta/SyncWinRT
 protected XmlNode(XmlNodeType nodeType, StringHandle localName, ValueHandle value,
                     XmlNodeFlags nodeFlags, ReadState readState, XmlAttributeTextNode attributeTextNode, int depthDelta)
 {
     this.nodeType = nodeType;
     this.localName = localName;
     this.value = value;
     //this.ns = NamespaceManager.EmptyNamespace;
     this.hasValue = (nodeFlags & XmlNodeFlags.HasValue) != XmlNodeFlags.None;
     this.canGetAttribute = (nodeFlags & XmlNodeFlags.CanGetAttribute) != XmlNodeFlags.None;
     this.canMoveToElement = (nodeFlags & XmlNodeFlags.CanMoveToElement) != XmlNodeFlags.None;
     this.IsAtomicValue = (nodeFlags & XmlNodeFlags.AtomicValue) != XmlNodeFlags.None;
     this.skipValue = (nodeFlags & XmlNodeFlags.SkipValue) != XmlNodeFlags.None;
     this.hasContent = (nodeFlags & XmlNodeFlags.HasContent) != XmlNodeFlags.None;
     this.readState = readState;
     this.attributeTextNode = attributeTextNode;
     this.exitScope = nodeType == XmlNodeType.EndElement;
     this.depthDelta = depthDelta;
     this.isEmptyElement = false;
     this.quoteChar = '"';
 }