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
- SHA1.cs
- DrawingVisual.cs
- DrawingState.cs
- Ops.cs
- WebPartCatalogAddVerb.cs
- Point.cs
- ToolStripDropDownClosedEventArgs.cs
- TextElementEnumerator.cs
- BaseCodeDomTreeGenerator.cs
- XmlSchemaSimpleContentRestriction.cs
- DependencyObject.cs
- TraceSection.cs
- CategoryList.cs
- Module.cs
- ProcessModelSection.cs
- CompiledRegexRunnerFactory.cs
- XmlQualifiedName.cs
- CodeAttachEventStatement.cs
- TcpDuplicateContext.cs
- TreeNodeMouseHoverEvent.cs
- SessionParameter.cs
- SemanticBasicElement.cs
- WebPartVerbCollection.cs
- XPathSelfQuery.cs
- x509store.cs
- RuntimeConfig.cs
- ClassHandlersStore.cs
- ToolStripPanelRow.cs
- Triplet.cs
- MSG.cs
- ReverseInheritProperty.cs
- PlainXmlSerializer.cs
- XPathNavigator.cs
- Form.cs
- BitStack.cs
- SingleConverter.cs
- AgileSafeNativeMemoryHandle.cs
- UndoManager.cs
- ReflectionUtil.cs
- DataBindingExpressionBuilder.cs
- XamlTreeBuilderBamlRecordWriter.cs
- DateTimeAutomationPeer.cs
- CacheOutputQuery.cs
- DispatcherSynchronizationContext.cs
- CalendarDataBindingHandler.cs
- RunClient.cs
- EntityConnection.cs
- NativeCppClassAttribute.cs
- DataGridViewComboBoxColumn.cs
- RepeatBehaviorConverter.cs
- ResourceDefaultValueAttribute.cs
- ChtmlCommandAdapter.cs
- UniqueCodeIdentifierScope.cs
- hresults.cs
- TextRunTypographyProperties.cs
- MexTcpBindingCollectionElement.cs
- HtmlTableCell.cs
- AppDomainManager.cs
- SmtpFailedRecipientsException.cs
- SizeValueSerializer.cs
- ReadOnlyDataSourceView.cs
- Graph.cs
- XmlSchemaCompilationSettings.cs
- ItemsChangedEventArgs.cs
- XpsSerializationManagerAsync.cs
- SequenceFullException.cs
- Cursor.cs
- DetailsViewAutoFormat.cs
- NoneExcludedImageIndexConverter.cs
- FilterException.cs
- Geometry3D.cs
- XmlAttributes.cs
- Crypto.cs
- XpsFilter.cs
- ObjectConverter.cs
- HtmlHead.cs
- HiddenFieldPageStatePersister.cs
- Line.cs
- OneOfElement.cs
- NameSpaceEvent.cs
- PowerEase.cs
- OdbcConnectionPoolProviderInfo.cs
- PersistenceTypeAttribute.cs
- DataGridViewCellPaintingEventArgs.cs
- ObjectStateManagerMetadata.cs
- TextEditorCharacters.cs
- MembershipPasswordException.cs
- EventSinkHelperWriter.cs
- CodeFieldReferenceExpression.cs
- SmtpTransport.cs
- CodeMemberMethod.cs
- TableCell.cs
- CompilationLock.cs
- ControlValuePropertyAttribute.cs
- HttpHeaderCollection.cs
- CompositionTarget.cs
- SQLInt64Storage.cs
- LongSumAggregationOperator.cs
- EventProviderWriter.cs
- TableDetailsCollection.cs