Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / XPath / Internal / GroupQuery.cs / 1305376 / GroupQuery.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 sealed class GroupQuery : BaseAxisQuery { public GroupQuery(Query qy): base(qy) {} private GroupQuery(GroupQuery other) : base(other) { } public override XPathNavigator Advance() { currentNode = qyInput.Advance(); if (currentNode != null) { position++; } return currentNode; } public override object Evaluate(XPathNodeIterator nodeIterator) { return qyInput.Evaluate(nodeIterator); } public override XPathNodeIterator Clone() { return new GroupQuery(this); } public override XPathResultType StaticType { get { return qyInput.StaticType; } } public override QueryProps Properties { get { return QueryProps.Position; } } // Doesn't have QueryProps.Merge } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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 sealed class GroupQuery : BaseAxisQuery { public GroupQuery(Query qy): base(qy) {} private GroupQuery(GroupQuery other) : base(other) { } public override XPathNavigator Advance() { currentNode = qyInput.Advance(); if (currentNode != null) { position++; } return currentNode; } public override object Evaluate(XPathNodeIterator nodeIterator) { return qyInput.Evaluate(nodeIterator); } public override XPathNodeIterator Clone() { return new GroupQuery(this); } public override XPathResultType StaticType { get { return qyInput.StaticType; } } public override QueryProps Properties { get { return QueryProps.Position; } } // Doesn't have QueryProps.Merge } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextTreeText.cs
- SchemaObjectWriter.cs
- ProxyWebPartConnectionCollection.cs
- EntityType.cs
- ReadOnlyNameValueCollection.cs
- BuildManagerHost.cs
- AssociationSetMetadata.cs
- RegexParser.cs
- Ray3DHitTestResult.cs
- CopyOnWriteList.cs
- KeyManager.cs
- AppModelKnownContentFactory.cs
- BulletChrome.cs
- PropertyChangedEventManager.cs
- ConfigurationErrorsException.cs
- FacetValueContainer.cs
- OleDbStruct.cs
- CheckBoxPopupAdapter.cs
- PenContexts.cs
- MouseDevice.cs
- UdpAnnouncementEndpoint.cs
- HtmlInputRadioButton.cs
- IdentityHolder.cs
- DataGridViewCellPaintingEventArgs.cs
- RegistrySecurity.cs
- NamedServiceModelExtensionCollectionElement.cs
- followingquery.cs
- TableHeaderCell.cs
- PropertyKey.cs
- NegotiateStream.cs
- RangeBase.cs
- InvalidProgramException.cs
- GB18030Encoding.cs
- ShapeTypeface.cs
- EmptyEnumerator.cs
- RayHitTestParameters.cs
- ExpressionEditorAttribute.cs
- CodeDelegateInvokeExpression.cs
- GrammarBuilder.cs
- RectangleGeometry.cs
- Translator.cs
- EndpointAddressProcessor.cs
- TransformerTypeCollection.cs
- ToolStripSplitStackLayout.cs
- ImageIndexEditor.cs
- ScaleTransform.cs
- DbSource.cs
- TablePattern.cs
- ResourceKey.cs
- NameValueConfigurationCollection.cs
- EdgeModeValidation.cs
- DynamicQueryableWrapper.cs
- PreloadedPackages.cs
- COMException.cs
- FormViewCommandEventArgs.cs
- OpenTypeMethods.cs
- TypePropertyEditor.cs
- XmlParser.cs
- Messages.cs
- GetReadStreamResult.cs
- CodeCommentStatementCollection.cs
- EventArgs.cs
- CheckedPointers.cs
- SelectiveScrollingGrid.cs
- EncryptedKey.cs
- ReaderWriterLock.cs
- BitmapDecoder.cs
- ViewManager.cs
- TableParagraph.cs
- IntegerValidator.cs
- TextDecorationUnitValidation.cs
- DPAPIProtectedConfigurationProvider.cs
- GridViewRowEventArgs.cs
- BaseTemplateBuildProvider.cs
- Update.cs
- WrapPanel.cs
- PrintPreviewGraphics.cs
- Messages.cs
- CookieParameter.cs
- UITypeEditor.cs
- IOException.cs
- QueryRewriter.cs
- ToolboxComponentsCreatedEventArgs.cs
- NativeObjectSecurity.cs
- NamespaceInfo.cs
- LocalizationParserHooks.cs
- WindowsGraphics.cs
- NotifyIcon.cs
- ServiceHostingEnvironment.cs
- NavigationExpr.cs
- BufferedReadStream.cs
- ClassicBorderDecorator.cs
- securitymgrsite.cs
- AssertHelper.cs
- DesignerTextBoxAdapter.cs
- ResourceWriter.cs
- PriorityBindingExpression.cs
- ThicknessConverter.cs
- VectorCollectionConverter.cs
- StreamWriter.cs