Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- PolicyException.cs
- SerialReceived.cs
- Base64Encoding.cs
- BasePattern.cs
- MetadataItem.cs
- NamespaceQuery.cs
- SmiConnection.cs
- Selection.cs
- ThreadTrace.cs
- OptimizerPatterns.cs
- WebPartZoneBase.cs
- RadioButtonList.cs
- DependencyObjectProvider.cs
- HwndHost.cs
- ErrorEventArgs.cs
- InvocationExpression.cs
- BatchServiceHost.cs
- VirtualizingStackPanel.cs
- CompiledQueryCacheEntry.cs
- QueueProcessor.cs
- XmlSchema.cs
- DataGridTableCollection.cs
- __FastResourceComparer.cs
- FixedSOMTableCell.cs
- MailSettingsSection.cs
- XmlAttributeOverrides.cs
- DynamicILGenerator.cs
- BinaryReader.cs
- BinaryFormatter.cs
- RenderOptions.cs
- CutCopyPasteHelper.cs
- PathFigure.cs
- SettingsBindableAttribute.cs
- DataGridViewControlCollection.cs
- MenuItem.cs
- NetworkStream.cs
- LocalizationParserHooks.cs
- RadioButtonBaseAdapter.cs
- ProfileSettingsCollection.cs
- TargetInvocationException.cs
- ObjectTag.cs
- UniqueConstraint.cs
- SymmetricKey.cs
- Events.cs
- CodeCompileUnit.cs
- SoapReflectionImporter.cs
- XmlAtomicValue.cs
- NavigatorOutput.cs
- Paragraph.cs
- Hash.cs
- WebControlAdapter.cs
- HelpEvent.cs
- MailMessage.cs
- SHA1.cs
- DbFunctionCommandTree.cs
- CompilerGlobalScopeAttribute.cs
- ToolStripSeparatorRenderEventArgs.cs
- Exceptions.cs
- LexicalChunk.cs
- OleDbMetaDataFactory.cs
- _AuthenticationState.cs
- VirtualDirectoryMappingCollection.cs
- Int32Rect.cs
- LogicalTreeHelper.cs
- TypeBuilderInstantiation.cs
- RequestResizeEvent.cs
- WsdlInspector.cs
- CaseDesigner.xaml.cs
- MappingSource.cs
- SSmlParser.cs
- SemaphoreSecurity.cs
- XmlEnumAttribute.cs
- ErrorCodes.cs
- WsatServiceAddress.cs
- FontStyles.cs
- InputLanguageProfileNotifySink.cs
- RegexCompilationInfo.cs
- TaiwanCalendar.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- DurableEnlistmentState.cs
- SyndicationElementExtensionCollection.cs
- configsystem.cs
- ConnectionAcceptor.cs
- UserPersonalizationStateInfo.cs
- ValueOfAction.cs
- AutoGeneratedFieldProperties.cs
- XMLSyntaxException.cs
- OleDbRowUpdatingEvent.cs
- DataGridViewCellStyleConverter.cs
- FreezableDefaultValueFactory.cs
- DirectoryObjectSecurity.cs
- CssTextWriter.cs
- BooleanStorage.cs
- ZoomPercentageConverter.cs
- PermissionToken.cs
- StoreContentChangedEventArgs.cs
- HtmlEmptyTagControlBuilder.cs
- CreateUserWizard.cs
- ChtmlFormAdapter.cs
- FilteredAttributeCollection.cs