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
- UrlPath.cs
- HttpContext.cs
- TypeSystem.cs
- EntityContainerAssociationSetEnd.cs
- TemplateComponentConnector.cs
- XhtmlConformanceSection.cs
- AttachedPropertyBrowsableAttribute.cs
- Win32Exception.cs
- SubqueryRules.cs
- SqlDataSourceView.cs
- LogRestartAreaEnumerator.cs
- BufferedConnection.cs
- QueryOpcode.cs
- QueryContinueDragEvent.cs
- ToolStripItemEventArgs.cs
- MasterPageParser.cs
- TransformValueSerializer.cs
- PageHandlerFactory.cs
- ToolStripContainer.cs
- ProxyWebPartManagerDesigner.cs
- _ConnectStream.cs
- SqlDuplicator.cs
- latinshape.cs
- SafeNativeMethods.cs
- XmlChildEnumerator.cs
- WebPartDisplayModeCollection.cs
- CodeStatement.cs
- SafeHandle.cs
- SmtpException.cs
- RenderData.cs
- ProgressBarRenderer.cs
- IISMapPath.cs
- RuleSetBrowserDialog.cs
- SerializeAbsoluteContext.cs
- SQLUtility.cs
- SmtpReplyReaderFactory.cs
- SqlUserDefinedTypeAttribute.cs
- SchemaSetCompiler.cs
- Italic.cs
- ContainerControlDesigner.cs
- assertwrapper.cs
- httpserverutility.cs
- DecimalSumAggregationOperator.cs
- GridViewCellAutomationPeer.cs
- AutomationEventArgs.cs
- _BaseOverlappedAsyncResult.cs
- QilFunction.cs
- OpenFileDialog.cs
- SessionPageStatePersister.cs
- ContextQuery.cs
- XamlGridLengthSerializer.cs
- TextContainer.cs
- OdbcParameter.cs
- PostBackOptions.cs
- TableItemStyle.cs
- Vector.cs
- coordinator.cs
- dbdatarecord.cs
- MethodBody.cs
- ResourceDictionaryCollection.cs
- TemplateAction.cs
- OleDbErrorCollection.cs
- ApplicationInfo.cs
- Mappings.cs
- DispatcherOperation.cs
- SessionStateSection.cs
- _BasicClient.cs
- DeploymentSection.cs
- HatchBrush.cs
- ChannelParameterCollection.cs
- CommandField.cs
- Expression.cs
- ObservableCollectionDefaultValueFactory.cs
- FontStretches.cs
- AuthenticateEventArgs.cs
- XamlTreeBuilderBamlRecordWriter.cs
- ConsoleKeyInfo.cs
- StateDesigner.cs
- FocusManager.cs
- SqlDeflator.cs
- CachedPathData.cs
- XmlToDatasetMap.cs
- AsnEncodedData.cs
- XPathQilFactory.cs
- DashStyle.cs
- ObjectSelectorEditor.cs
- DBConcurrencyException.cs
- ComboBox.cs
- DoubleConverter.cs
- NavigationService.cs
- WebPartConnectionsCancelVerb.cs
- ClientBuildManager.cs
- CatalogPart.cs
- BuildProviderAppliesToAttribute.cs
- ObjectKeyFrameCollection.cs
- DataGridCommandEventArgs.cs
- CfgArc.cs
- EpmCustomContentSerializer.cs
- PolicyAssertionCollection.cs
- WizardForm.cs