Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / XPath / Internal / Axis.cs / 1 / Axis.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace MS.Internal.Xml.XPath { using System; using System.Xml; using System.Xml.XPath; using System.Diagnostics; using System.Globalization; internal class Axis : AstNode { private AxisType axisType; private AstNode input; private string prefix; private string name; private XPathNodeType nodeType; protected bool abbrAxis; public enum AxisType { Ancestor, AncestorOrSelf, Attribute, Child, Descendant, DescendantOrSelf, Following, FollowingSibling, Namespace, Parent, Preceding, PrecedingSibling, Self, None }; // constructor public Axis(AxisType axisType, AstNode input, string prefix, string name, XPathNodeType nodetype) { Debug.Assert(prefix != null); Debug.Assert(name != null); this.axisType = axisType; this.input = input; this.prefix = prefix; this.name = name; this.nodeType = nodetype; } // constructor public Axis(AxisType axisType, AstNode input) : this(axisType, input, string.Empty, string.Empty, XPathNodeType.All) { this.abbrAxis = true; } public override AstType Type { get {return AstType.Axis;} } public override XPathResultType ReturnType { get {return XPathResultType.NodeSet;} } public AstNode Input { get {return input;} set {input = value;} } public string Prefix { get { return prefix; } } public string Name { get { return name; } } public XPathNodeType NodeType { get { return nodeType; } } public AxisType TypeOfAxis { get { return axisType; } } public bool AbbrAxis { get { return abbrAxis; } } // Used by AstTree in Schema private string urn = string.Empty; public string Urn { get { return urn; } set { urn = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FormsAuthenticationCredentials.cs
- BitHelper.cs
- NamespaceEmitter.cs
- TemplatedMailWebEventProvider.cs
- EntityViewContainer.cs
- BamlLocalizer.cs
- NativeMethods.cs
- SessionStateModule.cs
- DataTemplateSelector.cs
- DataControlCommands.cs
- XmlDocumentSerializer.cs
- SerialReceived.cs
- EventProvider.cs
- ContextStaticAttribute.cs
- FontSource.cs
- GridViewUpdateEventArgs.cs
- IntegerValidator.cs
- SqlBulkCopyColumnMapping.cs
- GeometryValueSerializer.cs
- util.cs
- TabControl.cs
- SerializationSectionGroup.cs
- ProcessManager.cs
- RuntimeIdentifierPropertyAttribute.cs
- HTTPNotFoundHandler.cs
- MemoryRecordBuffer.cs
- AmbientProperties.cs
- TCPClient.cs
- MorphHelper.cs
- ExtenderProviderService.cs
- Size3D.cs
- ObfuscationAttribute.cs
- MD5.cs
- DataGridViewRowHeaderCell.cs
- Accessible.cs
- PipeException.cs
- DashStyles.cs
- PointAnimationClockResource.cs
- ConfigXmlText.cs
- MSHTMLHost.cs
- XsltCompileContext.cs
- Location.cs
- ServiceProviders.cs
- DbCommandTree.cs
- StrokeNode.cs
- ColorPalette.cs
- AnimationLayer.cs
- URLAttribute.cs
- TemplateBuilder.cs
- ToolboxItemAttribute.cs
- Image.cs
- SoapObjectWriter.cs
- StandardOleMarshalObject.cs
- EntitySqlQueryCacheEntry.cs
- FixedTextContainer.cs
- ToolStripActionList.cs
- TCPListener.cs
- OutOfProcStateClientManager.cs
- GeneralTransform3DGroup.cs
- BlurBitmapEffect.cs
- PageOrientation.cs
- TraceShell.cs
- VersionPair.cs
- TextOutput.cs
- StylusButton.cs
- ZipIOExtraFieldPaddingElement.cs
- BitmapEffectDrawingContextState.cs
- dbdatarecord.cs
- NameValueCollection.cs
- ControlAdapter.cs
- TextFormatter.cs
- StringAnimationBase.cs
- altserialization.cs
- ILGenerator.cs
- Collection.cs
- MetafileHeader.cs
- EntitySetBaseCollection.cs
- SendMailErrorEventArgs.cs
- ViewBase.cs
- RandomNumberGenerator.cs
- TrackingExtract.cs
- RichTextBoxAutomationPeer.cs
- AttributeParameterInfo.cs
- FileChangesMonitor.cs
- SqlCommandSet.cs
- XsltLoader.cs
- FormsAuthenticationConfiguration.cs
- HtmlShim.cs
- KnowledgeBase.cs
- Scheduling.cs
- RawTextInputReport.cs
- AutomationIdentifierGuids.cs
- MemoryMappedViewAccessor.cs
- TextEndOfSegment.cs
- SqlMethods.cs
- XmlComplianceUtil.cs
- Attribute.cs
- ArrayItemValue.cs
- MultiSelectRootGridEntry.cs
- ServerValidateEventArgs.cs