Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / XPath / Internal / XPathSelfQuery.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ZipIOBlockManager.cs
- WebHttpSecurityModeHelper.cs
- TargetInvocationException.cs
- TypeToArgumentTypeConverter.cs
- VersionValidator.cs
- DBConnectionString.cs
- MergePropertyDescriptor.cs
- ResourceAssociationSet.cs
- DataView.cs
- UInt32.cs
- ISAPIApplicationHost.cs
- XmlUnspecifiedAttribute.cs
- TextPenaltyModule.cs
- SystemNetworkInterface.cs
- OdbcReferenceCollection.cs
- Rule.cs
- XmlDictionaryWriter.cs
- ErrorInfoXmlDocument.cs
- OdbcFactory.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- XmlUnspecifiedAttribute.cs
- SrgsGrammarCompiler.cs
- DomainUpDown.cs
- NetCodeGroup.cs
- MappingItemCollection.cs
- SQLDateTimeStorage.cs
- NetworkInformationException.cs
- RelationshipFixer.cs
- Slider.cs
- ScaleTransform.cs
- RadialGradientBrush.cs
- M3DUtil.cs
- ConfigXmlDocument.cs
- LicenseManager.cs
- ParameterToken.cs
- ISCIIEncoding.cs
- ImageSource.cs
- AnnotationResourceChangedEventArgs.cs
- FixedSOMContainer.cs
- ContainerControl.cs
- PageTheme.cs
- CodeAttributeDeclaration.cs
- CompModHelpers.cs
- path.cs
- LayoutManager.cs
- DefaultConfirmation.cs
- CompilerScopeManager.cs
- URLString.cs
- MessageSmuggler.cs
- TypeConverterAttribute.cs
- CryptoStream.cs
- SiteMapDataSourceDesigner.cs
- ClientFormsAuthenticationCredentials.cs
- DashStyle.cs
- HebrewNumber.cs
- ContentType.cs
- Terminate.cs
- XmlDataSource.cs
- DataGridViewUtilities.cs
- Identity.cs
- RoutedEventConverter.cs
- AssociationSetMetadata.cs
- SystemResourceHost.cs
- MaskInputRejectedEventArgs.cs
- BitmapSource.cs
- CodeLinePragma.cs
- MemoryMappedViewStream.cs
- WpfXamlLoader.cs
- TwoPhaseCommit.cs
- RoleGroupCollection.cs
- LinqDataSourceDeleteEventArgs.cs
- SamlSecurityTokenAuthenticator.cs
- Connector.xaml.cs
- MediaCommands.cs
- DataSourceControlBuilder.cs
- LightweightCodeGenerator.cs
- Utils.cs
- ObjectListCommandCollection.cs
- Baml2006SchemaContext.cs
- DataServiceException.cs
- GridToolTip.cs
- WebResourceAttribute.cs
- GridViewRowEventArgs.cs
- HttpResponseWrapper.cs
- SerialPinChanges.cs
- ExtractorMetadata.cs
- ResourceExpressionEditorSheet.cs
- EventProviderWriter.cs
- XmlSchemaSimpleTypeList.cs
- XsdDataContractExporter.cs
- LifetimeManager.cs
- ScriptControl.cs
- AsymmetricSignatureDeformatter.cs
- FrameworkElement.cs
- DataGridRow.cs
- SplitterEvent.cs
- CanonicalXml.cs
- DataGridViewTextBoxColumn.cs
- PropertyDescriptorCollection.cs
- SelectManyQueryOperator.cs