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
- SqlSupersetValidator.cs
- X509SecurityTokenProvider.cs
- RawAppCommandInputReport.cs
- ValidationResult.cs
- Configuration.cs
- EmptyCollection.cs
- QueuePathEditor.cs
- SmtpAuthenticationManager.cs
- VisualStyleElement.cs
- mansign.cs
- XPathMessageFilter.cs
- RawStylusInput.cs
- Stroke2.cs
- PrtTicket_Base.cs
- SchemaAttDef.cs
- RequestCacheValidator.cs
- SmiXetterAccessMap.cs
- OrderedParallelQuery.cs
- Form.cs
- DynamicILGenerator.cs
- HMACSHA1.cs
- OdbcException.cs
- StringStorage.cs
- TextTreeObjectNode.cs
- HttpBrowserCapabilitiesWrapper.cs
- Model3DGroup.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- ExtendedTransformFactory.cs
- SqlClientWrapperSmiStream.cs
- NavigatorInput.cs
- HostingEnvironmentException.cs
- Events.cs
- HelpPage.cs
- TypographyProperties.cs
- FloaterBaseParaClient.cs
- NameValuePermission.cs
- DocumentGridContextMenu.cs
- WebPartEventArgs.cs
- Size.cs
- DbConnectionPoolGroup.cs
- ProxyFragment.cs
- SmtpFailedRecipientsException.cs
- ConcurrentStack.cs
- KeySplineConverter.cs
- WorkflowServiceHostFactory.cs
- EpmTargetTree.cs
- BmpBitmapEncoder.cs
- TextFormatterImp.cs
- Vector3DIndependentAnimationStorage.cs
- Size3DConverter.cs
- SingleAnimation.cs
- XmlImplementation.cs
- ConsoleTraceListener.cs
- HttpTransportSecurity.cs
- EmptyCollection.cs
- MemberJoinTreeNode.cs
- ConstraintCollection.cs
- TextAutomationPeer.cs
- WebWorkflowRole.cs
- Localizer.cs
- TextFormatter.cs
- DefaultValidator.cs
- SqlVisitor.cs
- EventEntry.cs
- StopStoryboard.cs
- MatrixUtil.cs
- DetailsViewInsertedEventArgs.cs
- InvalidateEvent.cs
- XmlWriterSettings.cs
- StateMachineExecutionState.cs
- DeviceContext.cs
- MethodImplAttribute.cs
- ListBoxChrome.cs
- MessageBuffer.cs
- CreateCardRequest.cs
- FacetChecker.cs
- SizeAnimationUsingKeyFrames.cs
- DocumentGrid.cs
- GraphicsPathIterator.cs
- InfoCardCryptoHelper.cs
- SamlConstants.cs
- ErrorTableItemStyle.cs
- IDQuery.cs
- InputLangChangeEvent.cs
- CounterSample.cs
- DefaultBinder.cs
- ScriptResourceHandler.cs
- StreamGeometryContext.cs
- WindowsGrip.cs
- FeatureSupport.cs
- MinimizableAttributeTypeConverter.cs
- ReflectionTypeLoadException.cs
- WebRequest.cs
- ListBoxItem.cs
- ModifyActivitiesPropertyDescriptor.cs
- VerbConverter.cs
- SettingsBindableAttribute.cs
- SecurityPermission.cs
- DataErrorValidationRule.cs
- GridViewAutomationPeer.cs