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
- SQLInt16.cs
- TypeConverterHelper.cs
- OleDbDataReader.cs
- RolePrincipal.cs
- HtmlTableCellCollection.cs
- NullRuntimeConfig.cs
- ConnectionInterfaceCollection.cs
- XmlIlGenerator.cs
- altserialization.cs
- CodeIdentifier.cs
- TableChangeProcessor.cs
- StreamWriter.cs
- AutoGeneratedFieldProperties.cs
- CapabilitiesState.cs
- RulePatternOps.cs
- HelpHtmlBuilder.cs
- BamlLocalizationDictionary.cs
- DataGridTextBox.cs
- DesignerTextWriter.cs
- QueryExpr.cs
- Facet.cs
- InstanceDataCollectionCollection.cs
- MouseButtonEventArgs.cs
- TextBreakpoint.cs
- X509CertificateChain.cs
- ProtocolsSection.cs
- ComplexPropertyEntry.cs
- SymbolEqualComparer.cs
- WindowsSolidBrush.cs
- ControlBuilderAttribute.cs
- ApplicationManager.cs
- MachineKeySection.cs
- SoapMessage.cs
- HierarchicalDataSourceConverter.cs
- TransformerConfigurationWizardBase.cs
- SecurityKeyIdentifierClause.cs
- LoginStatusDesigner.cs
- PatternMatcher.cs
- PropertyDescriptorCollection.cs
- AmbiguousMatchException.cs
- DataGridViewCellMouseEventArgs.cs
- SendActivityDesignerTheme.cs
- TimeSpanValidatorAttribute.cs
- PhoneCallDesigner.cs
- ResXDataNode.cs
- GlyphRun.cs
- DesignDataSource.cs
- CollectionBase.cs
- SqlBuffer.cs
- SessionPageStatePersister.cs
- MultipleViewProviderWrapper.cs
- Debug.cs
- updateconfighost.cs
- ISAPIWorkerRequest.cs
- XmlSchemaDocumentation.cs
- SpecialNameAttribute.cs
- DataGridViewSelectedRowCollection.cs
- ChtmlSelectionListAdapter.cs
- HttpResponseInternalWrapper.cs
- BamlTreeMap.cs
- DataView.cs
- CheckBoxRenderer.cs
- FileIOPermission.cs
- AesCryptoServiceProvider.cs
- UpdateRecord.cs
- base64Transforms.cs
- PropertyMapper.cs
- DataGridColumnHeadersPresenter.cs
- CommandEventArgs.cs
- LeftCellWrapper.cs
- ContainerSelectorGlyph.cs
- ConstructorExpr.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- GetPageCompletedEventArgs.cs
- HttpCacheVaryByContentEncodings.cs
- CodePropertyReferenceExpression.cs
- TemplateBaseAction.cs
- TableLayoutPanelCodeDomSerializer.cs
- FileSystemInfo.cs
- SchemaNotation.cs
- ListItemsCollectionEditor.cs
- ImageInfo.cs
- EventProviderWriter.cs
- TableLayoutRowStyleCollection.cs
- Latin1Encoding.cs
- LogAppendAsyncResult.cs
- Setter.cs
- InvalidPropValue.cs
- RoutedPropertyChangedEventArgs.cs
- oledbmetadatacolumnnames.cs
- IdentifierElement.cs
- TreeNodeClickEventArgs.cs
- EventManager.cs
- XmlSchemaProviderAttribute.cs
- StylusPoint.cs
- CategoriesDocumentFormatter.cs
- ReversePositionQuery.cs
- BitmapScalingModeValidation.cs
- DependencyPropertyHelper.cs
- SecurityContextTokenCache.cs