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
- LogReserveAndAppendState.cs
- DependencyProperty.cs
- TypeConverterHelper.cs
- bindurihelper.cs
- HttpModuleActionCollection.cs
- ThreadStaticAttribute.cs
- StrokeCollectionConverter.cs
- AssemblyBuilder.cs
- _PooledStream.cs
- Rect.cs
- ItemList.cs
- ServicePointManagerElement.cs
- DataGridComboBoxColumn.cs
- TimeSpanValidatorAttribute.cs
- BindToObject.cs
- RuntimeArgumentHandle.cs
- BulletChrome.cs
- XmlDataLoader.cs
- Int64AnimationUsingKeyFrames.cs
- EmissiveMaterial.cs
- DisplayInformation.cs
- ButtonDesigner.cs
- _HeaderInfo.cs
- Parser.cs
- String.cs
- WebEventCodes.cs
- ValidatedControlConverter.cs
- DoubleAnimationUsingKeyFrames.cs
- UIPermission.cs
- OdbcDataReader.cs
- Throw.cs
- DataKey.cs
- CatalogPart.cs
- ListenerElementsCollection.cs
- OdbcCommandBuilder.cs
- CodeObjectCreateExpression.cs
- ComPersistableTypeElement.cs
- TabPage.cs
- ApplicationProxyInternal.cs
- ItemCheckEvent.cs
- DesignerListAdapter.cs
- altserialization.cs
- AuthenticationService.cs
- mda.cs
- BindingNavigator.cs
- cryptoapiTransform.cs
- ICollection.cs
- CollectionEditor.cs
- ExtenderProvidedPropertyAttribute.cs
- WebException.cs
- NumberFunctions.cs
- TreeViewDataItemAutomationPeer.cs
- RangeValidator.cs
- Adorner.cs
- FeedUtils.cs
- SerializationSectionGroup.cs
- WindowShowOrOpenTracker.cs
- BindingGraph.cs
- SelectedGridItemChangedEvent.cs
- QueryResult.cs
- WebBrowser.cs
- ToolBarOverflowPanel.cs
- MobileControl.cs
- unitconverter.cs
- SchemaImporterExtension.cs
- DynamicMetaObject.cs
- _DigestClient.cs
- DataBoundControlActionList.cs
- ListViewAutomationPeer.cs
- Dispatcher.cs
- EventSetterHandlerConverter.cs
- XamlReader.cs
- LogRestartAreaEnumerator.cs
- ConditionalDesigner.cs
- RegisteredExpandoAttribute.cs
- InputLanguage.cs
- UnionCqlBlock.cs
- QueueProcessor.cs
- TokenBasedSetEnumerator.cs
- WebPartEditorApplyVerb.cs
- EdmProviderManifest.cs
- Inline.cs
- TransformationRules.cs
- SafeEventHandle.cs
- SafeMarshalContext.cs
- WebPartDisplayModeCollection.cs
- RowToParametersTransformer.cs
- WebPartDisplayModeEventArgs.cs
- EditorBrowsableAttribute.cs
- InputReportEventArgs.cs
- ImpersonateTokenRef.cs
- GridSplitterAutomationPeer.cs
- CellTreeNodeVisitors.cs
- LongSumAggregationOperator.cs
- HttpCacheVary.cs
- HttpCookieCollection.cs
- CompressEmulationStream.cs
- CustomCategoryAttribute.cs
- BaseConfigurationRecord.cs
- XmlBaseReader.cs