Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / XPath / Internal / XPathSelfQuery.cs / 1 / XPathSelfQuery.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 XPathSelfQuery : BaseAxisQuery { public XPathSelfQuery(Query qyInput, string Name, string Prefix, XPathNodeType Type) : base(qyInput, Name, Prefix, Type) {} private XPathSelfQuery(XPathSelfQuery other) : base(other) { } public override XPathNavigator Advance() { while ((currentNode = qyInput.Advance()) != null) { if (matches(currentNode)) { position = 1; return currentNode; } } return null; } public override XPathNodeIterator Clone() { return new XPathSelfQuery(this); } } } // 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
- Byte.cs
- InternalEnumValidator.cs
- Int32.cs
- InputBinding.cs
- DiagnosticsConfiguration.cs
- FailedToStartupUIException.cs
- QueryCacheEntry.cs
- PolicyLevel.cs
- ValidationManager.cs
- XmlNullResolver.cs
- ComplexTypeEmitter.cs
- QueryOutputWriterV1.cs
- DataControlFieldCollection.cs
- XmlSchemaSimpleType.cs
- CompoundFileStorageReference.cs
- ImageBrush.cs
- HtmlInputHidden.cs
- FileUpload.cs
- UserUseLicenseDictionaryLoader.cs
- FixedSOMGroup.cs
- complextypematerializer.cs
- InheritanceRules.cs
- BuildProvider.cs
- InputScopeNameConverter.cs
- HttpWebResponse.cs
- SqlCrossApplyToCrossJoin.cs
- HttpCookieCollection.cs
- Schema.cs
- RectAnimationBase.cs
- _HeaderInfoTable.cs
- GridViewCancelEditEventArgs.cs
- ObjectSecurity.cs
- HttpRequestCacheValidator.cs
- PackageProperties.cs
- CellIdBoolean.cs
- ArraySortHelper.cs
- CodeAccessSecurityEngine.cs
- ButtonPopupAdapter.cs
- SimpleModelProvider.cs
- WindowsImpersonationContext.cs
- DescendantOverDescendantQuery.cs
- DrawingGroupDrawingContext.cs
- FileDialog_Vista_Interop.cs
- DependencyPropertyDescriptor.cs
- TabletCollection.cs
- AsymmetricSecurityProtocolFactory.cs
- SchemaType.cs
- HttpServerUtilityBase.cs
- DriveNotFoundException.cs
- DetailsViewInsertedEventArgs.cs
- HandleRef.cs
- BitmapEffectInput.cs
- MtomMessageEncodingBindingElement.cs
- IResourceProvider.cs
- DBCommandBuilder.cs
- PackagePartCollection.cs
- RuntimeCompatibilityAttribute.cs
- JsonReader.cs
- AssociatedControlConverter.cs
- SelectionUIService.cs
- SmiSettersStream.cs
- CredentialCache.cs
- SQLInt64.cs
- TitleStyle.cs
- CompareInfo.cs
- CodeCompileUnit.cs
- RawKeyboardInputReport.cs
- RemoteWebConfigurationHostStream.cs
- SspiWrapper.cs
- RegexBoyerMoore.cs
- _ScatterGatherBuffers.cs
- Rijndael.cs
- SqlCrossApplyToCrossJoin.cs
- CodeTypeMember.cs
- TrustSection.cs
- URLMembershipCondition.cs
- DesignerProperties.cs
- Line.cs
- FigureParaClient.cs
- Encoder.cs
- TypeDescriptorFilterService.cs
- DataListGeneralPage.cs
- Event.cs
- MinMaxParagraphWidth.cs
- Expander.cs
- HttpApplication.cs
- StyleModeStack.cs
- FocusChangedEventArgs.cs
- ConfigXmlText.cs
- SystemWebSectionGroup.cs
- PointCollection.cs
- SqlDependency.cs
- InfoCardAsymmetricCrypto.cs
- QuaternionAnimation.cs
- Group.cs
- LightweightCodeGenerator.cs
- X509Utils.cs
- HitTestDrawingContextWalker.cs
- SizeKeyFrameCollection.cs
- SkipQueryOptionExpression.cs