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
- TcpProcessProtocolHandler.cs
- DeviceFilterDictionary.cs
- DelegatingConfigHost.cs
- PropertyConverter.cs
- ClosureBinding.cs
- ObjectHelper.cs
- TraceUtils.cs
- ContextBase.cs
- DesignerInterfaces.cs
- DataControlLinkButton.cs
- mediaeventshelper.cs
- UpDownBase.cs
- FileSecurity.cs
- diagnosticsswitches.cs
- KeyedPriorityQueue.cs
- TextElementCollectionHelper.cs
- ServiceModelConfigurationElementCollection.cs
- ConnectionStringsSection.cs
- TableStyle.cs
- Cell.cs
- RemotingServices.cs
- SqlNodeTypeOperators.cs
- UnaryExpression.cs
- DecimalConverter.cs
- HtmlLiteralTextAdapter.cs
- CertificateManager.cs
- XmlDigitalSignatureProcessor.cs
- MemberMaps.cs
- PropertyTabAttribute.cs
- PopupEventArgs.cs
- NullRuntimeConfig.cs
- BaseCodePageEncoding.cs
- SqlGenerator.cs
- OSFeature.cs
- BoundPropertyEntry.cs
- _NetRes.cs
- HiddenFieldDesigner.cs
- StyleXamlParser.cs
- EntityDataSourceContextCreatedEventArgs.cs
- CapabilitiesSection.cs
- Viewport2DVisual3D.cs
- EndpointIdentityConverter.cs
- DateTimeParse.cs
- PeerResolverBindingElement.cs
- PolyBezierSegment.cs
- WindowPattern.cs
- XmlAggregates.cs
- EntityDataSourceReferenceGroup.cs
- ConfigurationConverterBase.cs
- TrackingExtract.cs
- Model3D.cs
- storepermissionattribute.cs
- TextEditorCopyPaste.cs
- SecurityRuntime.cs
- DataGridViewComboBoxEditingControl.cs
- SQLChars.cs
- RoleProviderPrincipal.cs
- DataControlField.cs
- StateDesigner.LayoutSelectionGlyph.cs
- DataGridPageChangedEventArgs.cs
- ByteRangeDownloader.cs
- UnionExpr.cs
- SqlInternalConnection.cs
- TemplatedMailWebEventProvider.cs
- brushes.cs
- TextBoxBaseDesigner.cs
- DataGridViewToolTip.cs
- PeekCompletedEventArgs.cs
- ExpressionBuilderCollection.cs
- graph.cs
- SqlConnectionPoolProviderInfo.cs
- PeerNameResolver.cs
- DataGridDetailsPresenter.cs
- TimeSpan.cs
- ExpressionPrefixAttribute.cs
- ToolBar.cs
- Panel.cs
- ASCIIEncoding.cs
- _NegotiateClient.cs
- CompositionTarget.cs
- ToolStripPanel.cs
- XXXInfos.cs
- FormViewInsertedEventArgs.cs
- InertiaExpansionBehavior.cs
- UnicodeEncoding.cs
- StreamResourceInfo.cs
- FrameworkReadOnlyPropertyMetadata.cs
- PerfCounters.cs
- SecurityTokenSerializer.cs
- RepeatBehavior.cs
- GraphicsState.cs
- _DigestClient.cs
- Attributes.cs
- FaultHandlingFilter.cs
- Error.cs
- SemanticResolver.cs
- arclist.cs
- RightNameExpirationInfoPair.cs
- ValidationRuleCollection.cs
- HyperLink.cs