Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Xml / System / Xml / XPath / Internal / GroupQuery.cs / 1 / 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
- ObjectListCommand.cs
- TrackingProfileSerializer.cs
- SliderAutomationPeer.cs
- Vector.cs
- HMACSHA1.cs
- CompressStream.cs
- Boolean.cs
- SerialErrors.cs
- CultureTable.cs
- DataBindingList.cs
- CreateUserWizardStep.cs
- MatrixStack.cs
- DataControlImageButton.cs
- DataColumnCollection.cs
- SqlDeflator.cs
- InfocardChannelParameter.cs
- DriveNotFoundException.cs
- TransformerInfo.cs
- ISFTagAndGuidCache.cs
- ProcessHostMapPath.cs
- UnknownBitmapEncoder.cs
- DataGridSortCommandEventArgs.cs
- UserPreferenceChangedEventArgs.cs
- CompilerCollection.cs
- UnionCodeGroup.cs
- FacetDescriptionElement.cs
- HttpModuleAction.cs
- BooleanToVisibilityConverter.cs
- EventEntry.cs
- XslUrlEditor.cs
- SafeFindHandle.cs
- SqlIdentifier.cs
- SeverityFilter.cs
- ScrollPatternIdentifiers.cs
- ServiceOperationParameter.cs
- IdSpace.cs
- MethodToken.cs
- MemoryMappedFileSecurity.cs
- CustomErrorCollection.cs
- InkCanvasSelection.cs
- FillRuleValidation.cs
- IUnknownConstantAttribute.cs
- WinEventWrap.cs
- SettingsBindableAttribute.cs
- DataRelation.cs
- SafeProcessHandle.cs
- WebZone.cs
- NonParentingControl.cs
- CodeMemberEvent.cs
- Deflater.cs
- BoundPropertyEntry.cs
- XmlElementList.cs
- XmlAnyElementAttribute.cs
- _BufferOffsetSize.cs
- webeventbuffer.cs
- SafeHandle.cs
- MatchingStyle.cs
- SafeLibraryHandle.cs
- SelectionProviderWrapper.cs
- TableLayoutPanelCodeDomSerializer.cs
- EventEntry.cs
- AdRotator.cs
- EntityDataSourceContextCreatedEventArgs.cs
- DataGridViewTextBoxEditingControl.cs
- CharAnimationBase.cs
- DataServiceRequestOfT.cs
- Selection.cs
- Model3DGroup.cs
- SystemPens.cs
- SystemResources.cs
- DbBuffer.cs
- CatalogPart.cs
- SectionInformation.cs
- XsltLibrary.cs
- ObfuscateAssemblyAttribute.cs
- _ChunkParse.cs
- CrossContextChannel.cs
- UserControl.cs
- ComponentGuaranteesAttribute.cs
- CaseInsensitiveHashCodeProvider.cs
- InternalSafeNativeMethods.cs
- CompilerScope.cs
- Path.cs
- FontCacheUtil.cs
- DynamicRenderer.cs
- DataControlFieldHeaderCell.cs
- XsdBuildProvider.cs
- _ConnectOverlappedAsyncResult.cs
- ToolStripOverflow.cs
- ListViewDeleteEventArgs.cs
- WebEventTraceProvider.cs
- _ScatterGatherBuffers.cs
- Cursors.cs
- CodeGenerator.cs
- StaticSiteMapProvider.cs
- MemberAccessException.cs
- ParallelTimeline.cs
- StateChangeEvent.cs
- SQLBinaryStorage.cs
- StreamMarshaler.cs