Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / XPath / Internal / XPathSelfQuery.cs / 2 / 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
- DBDataPermission.cs
- XamlToRtfParser.cs
- MappingSource.cs
- followingsibling.cs
- ToolStripItemRenderEventArgs.cs
- IfAction.cs
- UndoEngine.cs
- DisposableCollectionWrapper.cs
- AttachedPropertyMethodSelector.cs
- URLMembershipCondition.cs
- ProfileModule.cs
- DelegatedStream.cs
- ListViewTableRow.cs
- LinqDataSourceView.cs
- DefaultTextStore.cs
- TrustSection.cs
- CharacterMetricsDictionary.cs
- ImageIndexConverter.cs
- SqlBooleanizer.cs
- RuntimeConfig.cs
- CompositeScriptReference.cs
- UIAgentInitializationException.cs
- TrackingServices.cs
- WebPartsPersonalization.cs
- XmlSchemaSubstitutionGroup.cs
- DBParameter.cs
- versioninfo.cs
- PropertyDescriptorGridEntry.cs
- LinkClickEvent.cs
- ReferencedAssembly.cs
- AbstractExpressions.cs
- IDQuery.cs
- RijndaelManagedTransform.cs
- ItemCollection.cs
- ObjectDataSource.cs
- PermissionRequestEvidence.cs
- HtmlLink.cs
- ReflectTypeDescriptionProvider.cs
- PkcsUtils.cs
- DataServices.cs
- Filter.cs
- ControlAdapter.cs
- TitleStyle.cs
- HtmlContainerControl.cs
- XPathPatternBuilder.cs
- EditorBrowsableAttribute.cs
- SingleSelectRootGridEntry.cs
- DataColumnSelectionConverter.cs
- QueryReaderSettings.cs
- XmlEntityReference.cs
- NamespaceMapping.cs
- EventBuilder.cs
- ZoneIdentityPermission.cs
- Int64.cs
- XXXInfos.cs
- CustomLineCap.cs
- WmpBitmapEncoder.cs
- DesignerDeviceConfig.cs
- EmbeddedMailObject.cs
- DataGridViewSelectedRowCollection.cs
- ListViewDeletedEventArgs.cs
- XmlSchemaComplexContent.cs
- PasswordPropertyTextAttribute.cs
- FacetValueContainer.cs
- UserCancellationException.cs
- InfoCardListRequest.cs
- SqlUDTStorage.cs
- WebServiceResponse.cs
- PropertyMap.cs
- SmiContext.cs
- RectangleHotSpot.cs
- LinkedList.cs
- BamlLocalizationDictionary.cs
- TextureBrush.cs
- CodeIdentifiers.cs
- PaginationProgressEventArgs.cs
- BamlResourceContent.cs
- HierarchicalDataSourceDesigner.cs
- LambdaCompiler.Address.cs
- KnownBoxes.cs
- Span.cs
- DatagridviewDisplayedBandsData.cs
- FileDataSourceCache.cs
- XappLauncher.cs
- KeyFrames.cs
- TrackingServices.cs
- LifetimeServices.cs
- FailedToStartupUIException.cs
- ValidationEventArgs.cs
- CultureTable.cs
- DataRecordInternal.cs
- LineVisual.cs
- JoinSymbol.cs
- Compress.cs
- SrgsElementList.cs
- CompressedStack.cs
- KnownBoxes.cs
- SafeNativeMethods.cs
- SequentialUshortCollection.cs
- XmlElementList.cs