Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / XPath / Internal / ReversePositionQuery.cs / 1305376 / ReversePositionQuery.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; internal sealed class ReversePositionQuery : ForwardPositionQuery { public ReversePositionQuery(Query input) : base(input) { } private ReversePositionQuery(ReversePositionQuery other) : base(other) { } public override XPathNodeIterator Clone() { return new ReversePositionQuery(this); } public override int CurrentPosition { get { return outputBuffer.Count - count + 1; } } public override QueryProps Properties { get { return base.Properties | QueryProps.Reverse; } } } } // 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; internal sealed class ReversePositionQuery : ForwardPositionQuery { public ReversePositionQuery(Query input) : base(input) { } private ReversePositionQuery(ReversePositionQuery other) : base(other) { } public override XPathNodeIterator Clone() { return new ReversePositionQuery(this); } public override int CurrentPosition { get { return outputBuffer.Count - count + 1; } } public override QueryProps Properties { get { return base.Properties | QueryProps.Reverse; } } } } // 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
- HotSpotCollection.cs
- XmlNamespaceManager.cs
- FileNotFoundException.cs
- WebPartConnectionsCancelVerb.cs
- FactoryMaker.cs
- TouchesOverProperty.cs
- TypeGeneratedEventArgs.cs
- ChildTable.cs
- wgx_exports.cs
- ScriptingProfileServiceSection.cs
- ProgressBarHighlightConverter.cs
- HttpListenerException.cs
- MembershipValidatePasswordEventArgs.cs
- LazyTextWriterCreator.cs
- Viewport2DVisual3D.cs
- CodeObjectCreateExpression.cs
- ItemPager.cs
- DetailsViewUpdateEventArgs.cs
- CTreeGenerator.cs
- CmsInterop.cs
- OdbcCommandBuilder.cs
- BitStream.cs
- DateTimeFormatInfo.cs
- LinqToSqlWrapper.cs
- Utils.cs
- HttpWriter.cs
- WindowsContainer.cs
- PseudoWebRequest.cs
- DataGridViewSortCompareEventArgs.cs
- Literal.cs
- XmlSchemaSimpleTypeList.cs
- FileCodeGroup.cs
- Location.cs
- Compress.cs
- ResourceAssociationTypeEnd.cs
- CompilerParameters.cs
- IdleTimeoutMonitor.cs
- SecurityDescriptor.cs
- TypeInfo.cs
- HybridDictionary.cs
- DelayedRegex.cs
- LinearGradientBrush.cs
- MetricEntry.cs
- VerbConverter.cs
- StyleBamlTreeBuilder.cs
- graph.cs
- VectorValueSerializer.cs
- Positioning.cs
- CachingHintValidation.cs
- BitmapFrameDecode.cs
- ExpressionNode.cs
- XmlSchemaDatatype.cs
- CodeTypeReference.cs
- ElementNotAvailableException.cs
- Version.cs
- EventSinkHelperWriter.cs
- ThemeDictionaryExtension.cs
- NumericUpDown.cs
- ImmutableObjectAttribute.cs
- BroadcastEventHelper.cs
- _AutoWebProxyScriptHelper.cs
- FunctionImportMapping.cs
- SaveFileDialog.cs
- BitmapPalette.cs
- PlanCompiler.cs
- XmlCharCheckingReader.cs
- PickDesigner.xaml.cs
- QilPatternVisitor.cs
- HtmlGenericControl.cs
- FontFamilyValueSerializer.cs
- ScrollBarRenderer.cs
- TypeBinaryExpression.cs
- IndependentlyAnimatedPropertyMetadata.cs
- SurrogateSelector.cs
- XsltLibrary.cs
- DateTimeStorage.cs
- ParameterCollection.cs
- Operator.cs
- ProcessHost.cs
- CombinedGeometry.cs
- HandleCollector.cs
- ItemType.cs
- ColumnClickEvent.cs
- TableLayoutRowStyleCollection.cs
- IsolatedStorageSecurityState.cs
- ImageIndexConverter.cs
- QuinticEase.cs
- DispatcherTimer.cs
- CodeAttributeArgumentCollection.cs
- Globals.cs
- TaiwanLunisolarCalendar.cs
- MsmqBindingFilter.cs
- GetIndexBinder.cs
- Model3DCollection.cs
- ContentDefinition.cs
- EventHandlersDesigner.cs
- WindowsFont.cs
- ColumnWidthChangingEvent.cs
- TraceData.cs
- ApplicationProxyInternal.cs