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
- XamlHostingConfiguration.cs
- TableLayoutColumnStyleCollection.cs
- DependencyPropertyValueSerializer.cs
- RIPEMD160.cs
- HttpApplication.cs
- _AutoWebProxyScriptWrapper.cs
- DataGridClipboardCellContent.cs
- WebUtil.cs
- TransportChannelFactory.cs
- ProfileInfo.cs
- XmlCharCheckingWriter.cs
- LocatorManager.cs
- PointAnimationUsingKeyFrames.cs
- ServicePointManager.cs
- TextMetrics.cs
- QueryTaskGroupState.cs
- OleDbRowUpdatedEvent.cs
- GeometryModel3D.cs
- PropertyChangedEventArgs.cs
- BamlResourceContent.cs
- DeclaredTypeValidatorAttribute.cs
- SoapTypeAttribute.cs
- ViewSimplifier.cs
- DesignerAttributeInfo.cs
- CqlLexerHelpers.cs
- Types.cs
- SchemaConstraints.cs
- COM2PropertyDescriptor.cs
- altserialization.cs
- SequentialUshortCollection.cs
- MatrixAnimationBase.cs
- DiscardableAttribute.cs
- ConfigurationElementCollection.cs
- WindowsNonControl.cs
- FormParameter.cs
- LocatorPart.cs
- NavigatorOutput.cs
- ObjectHandle.cs
- Select.cs
- WebPartsPersonalization.cs
- Win32Native.cs
- SettingsProperty.cs
- HitTestWithPointDrawingContextWalker.cs
- DependencyObjectProvider.cs
- ReadOnlyAttribute.cs
- WebPartZoneBase.cs
- WebControlParameterProxy.cs
- TargetControlTypeCache.cs
- ConfigXmlCDataSection.cs
- ManagementOperationWatcher.cs
- InputElement.cs
- FirstQueryOperator.cs
- ThemeDirectoryCompiler.cs
- SocketElement.cs
- Events.cs
- GifBitmapDecoder.cs
- FixUpCollection.cs
- ExpressionPrefixAttribute.cs
- StatusBar.cs
- OSFeature.cs
- ListBoxItemAutomationPeer.cs
- CompositeFontFamily.cs
- RequestQueryParser.cs
- SqlUserDefinedAggregateAttribute.cs
- NullableDoubleMinMaxAggregationOperator.cs
- RemoteX509Token.cs
- XmlWrappingReader.cs
- BlobPersonalizationState.cs
- filewebrequest.cs
- PageContentCollection.cs
- PointAnimationBase.cs
- DelegatingTypeDescriptionProvider.cs
- TreeViewImageKeyConverter.cs
- SqlMultiplexer.cs
- PrintingPermission.cs
- HttpCacheVaryByContentEncodings.cs
- FrugalMap.cs
- XMLSyntaxException.cs
- DoubleStorage.cs
- StateFinalizationDesigner.cs
- TCPClient.cs
- BindingsCollection.cs
- PropertyDescriptorComparer.cs
- FormViewDeleteEventArgs.cs
- SecurityTokenParametersEnumerable.cs
- Clause.cs
- NullableConverter.cs
- SiteMapProvider.cs
- UIElementCollection.cs
- Package.cs
- EntityModelSchemaGenerator.cs
- WebPartUserCapability.cs
- C14NUtil.cs
- ElementNotEnabledException.cs
- UTF8Encoding.cs
- ExtendedProperty.cs
- PanelDesigner.cs
- EdmFunctions.cs
- configsystem.cs
- UTF8Encoding.cs