Code:
/ DotNET / DotNET / 8.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
- PropertyMetadata.cs
- MinimizableAttributeTypeConverter.cs
- SymbolTable.cs
- ECDsaCng.cs
- Policy.cs
- SecurityDocument.cs
- DocumentPageHost.cs
- ConnectionManagementSection.cs
- CoTaskMemHandle.cs
- CodeGeneratorOptions.cs
- WriteableOnDemandStream.cs
- DetailsViewRowCollection.cs
- __ConsoleStream.cs
- PointLightBase.cs
- DocumentPage.cs
- SetUserLanguageRequest.cs
- SafeFileHandle.cs
- DataService.cs
- LOSFormatter.cs
- GridViewEditEventArgs.cs
- EventOpcode.cs
- VisualStateChangedEventArgs.cs
- StoragePropertyMapping.cs
- ObjectItemLoadingSessionData.cs
- NCryptSafeHandles.cs
- HttpDictionary.cs
- ClaimComparer.cs
- AutomationProperties.cs
- Literal.cs
- ConnectionsZone.cs
- AlternateViewCollection.cs
- DataSourceBooleanViewSchemaConverter.cs
- DateTimeValueSerializerContext.cs
- SmtpClient.cs
- SamlAttributeStatement.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- DataGridViewBindingCompleteEventArgs.cs
- ProcessThread.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- SqlProviderServices.cs
- DockingAttribute.cs
- Variable.cs
- LoopExpression.cs
- SortQueryOperator.cs
- BamlLocalizationDictionary.cs
- ProviderUtil.cs
- AssemblyBuilderData.cs
- SizeLimitedCache.cs
- DocumentScope.cs
- RoleManagerModule.cs
- ValidationPropertyAttribute.cs
- ControllableStoryboardAction.cs
- DataGridViewCellStateChangedEventArgs.cs
- HyperLinkStyle.cs
- OdbcParameterCollection.cs
- DataSet.cs
- LoaderAllocator.cs
- Pool.cs
- SamlAssertion.cs
- DependencyStoreSurrogate.cs
- RadialGradientBrush.cs
- MailAddress.cs
- CatalogPart.cs
- RawStylusInput.cs
- CapabilitiesSection.cs
- FastEncoderWindow.cs
- XmlSchemas.cs
- Freezable.cs
- InplaceBitmapMetadataWriter.cs
- MenuBase.cs
- InvalidEnumArgumentException.cs
- TimersDescriptionAttribute.cs
- ColorEditor.cs
- NullRuntimeConfig.cs
- shaperfactoryquerycacheentry.cs
- SynchronizedInputProviderWrapper.cs
- HandleCollector.cs
- FramingFormat.cs
- FontStretches.cs
- StatusBar.cs
- DataGridView.cs
- SmtpSection.cs
- EmbeddedObject.cs
- InputBinder.cs
- StsCommunicationException.cs
- AutomationProperties.cs
- TouchPoint.cs
- SystemWebSectionGroup.cs
- IndexObject.cs
- ComponentResourceKeyConverter.cs
- WorkflowNamespace.cs
- UnsafePeerToPeerMethods.cs
- IPAddressCollection.cs
- ExpressionDumper.cs
- RightsManagementEncryptedStream.cs
- X509CertificateTokenFactoryCredential.cs
- VersionPair.cs
- ToolStripDropDown.cs
- TypeHelpers.cs
- GlyphCache.cs