Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // //[....] //----------------------------------------------------------------------------- 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
- PropertyDescriptor.cs
- SmtpDateTime.cs
- AspNetSynchronizationContext.cs
- SerializationInfo.cs
- XmlWriterTraceListener.cs
- AttributeInfo.cs
- Avt.cs
- ExpressionPrefixAttribute.cs
- TextDecoration.cs
- HtmlFormWrapper.cs
- TimeSpanOrInfiniteValidator.cs
- MessageQueueException.cs
- TemplateBindingExtension.cs
- DataObject.cs
- HtmlTableCellCollection.cs
- StickyNote.cs
- InstallerTypeAttribute.cs
- OdbcCommand.cs
- XmlProcessingInstruction.cs
- CalendarAutoFormat.cs
- LinkAreaEditor.cs
- LeafCellTreeNode.cs
- RegexWriter.cs
- ObjectRef.cs
- regiisutil.cs
- ToggleProviderWrapper.cs
- PasswordPropertyTextAttribute.cs
- RemotingSurrogateSelector.cs
- JsonReaderWriterFactory.cs
- ColumnMapProcessor.cs
- ReadOnlyObservableCollection.cs
- TypeConstant.cs
- ProgressBar.cs
- XmlNamedNodeMap.cs
- TextCollapsingProperties.cs
- HttpRawResponse.cs
- CryptoStream.cs
- HttpWebResponse.cs
- ProfileSettingsCollection.cs
- ResXResourceWriter.cs
- RSAPKCS1KeyExchangeFormatter.cs
- PersonalizationProvider.cs
- CookielessHelper.cs
- MethodCallTranslator.cs
- ObjectDataSourceStatusEventArgs.cs
- Nullable.cs
- GenericTextProperties.cs
- TypeCodeDomSerializer.cs
- DataGridViewTopRowAccessibleObject.cs
- documentation.cs
- XPathDocument.cs
- ResourceDefaultValueAttribute.cs
- ToolboxItemImageConverter.cs
- EnvironmentPermission.cs
- HMACSHA256.cs
- RowUpdatedEventArgs.cs
- WebColorConverter.cs
- SlipBehavior.cs
- ConvertTextFrag.cs
- XmlCodeExporter.cs
- SqlProviderManifest.cs
- ImageAttributes.cs
- ToolboxBitmapAttribute.cs
- SHA512CryptoServiceProvider.cs
- DataRowExtensions.cs
- ToolboxComponentsCreatingEventArgs.cs
- HttpClientCertificate.cs
- ByteConverter.cs
- SoapUnknownHeader.cs
- FlatButtonAppearance.cs
- infer.cs
- Vector3DConverter.cs
- MetadataPropertyCollection.cs
- MenuCommandService.cs
- control.ime.cs
- ConnectionManagementElement.cs
- ScriptReferenceEventArgs.cs
- GuidelineCollection.cs
- SafeCertificateContext.cs
- XamlTreeBuilderBamlRecordWriter.cs
- SingleObjectCollection.cs
- SpotLight.cs
- OperandQuery.cs
- SqlEnums.cs
- CommentAction.cs
- EncodedStreamFactory.cs
- IdentifierService.cs
- ToolBarPanel.cs
- ScrollableControl.cs
- CompiledScopeCriteria.cs
- HTMLTagNameToTypeMapper.cs
- Processor.cs
- DispatcherObject.cs
- ObjectViewEntityCollectionData.cs
- XmlSerializerFactory.cs
- FixedFindEngine.cs
- LayoutEvent.cs
- TextCompositionManager.cs
- LayoutEditorPart.cs
- RtfToXamlLexer.cs