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
- Bezier.cs
- DataGridViewBindingCompleteEventArgs.cs
- DBPropSet.cs
- SecurityRuntime.cs
- SystemFonts.cs
- TextBlockAutomationPeer.cs
- Row.cs
- InkCanvasSelectionAdorner.cs
- SectionInput.cs
- AbstractSvcMapFileLoader.cs
- ServicePointManager.cs
- TableCell.cs
- TextBoxAutomationPeer.cs
- RouteUrlExpressionBuilder.cs
- IISMapPath.cs
- Query.cs
- ConstrainedGroup.cs
- TypedDataSetSchemaImporterExtension.cs
- ContractTypeNameCollection.cs
- DayRenderEvent.cs
- Label.cs
- WorkerRequest.cs
- ParameterModifier.cs
- HierarchicalDataBoundControl.cs
- Geometry.cs
- SmiEventStream.cs
- ResourceReader.cs
- InputBinder.cs
- DataGridViewLayoutData.cs
- AudioException.cs
- PartialTrustVisibleAssembliesSection.cs
- AuthenticationService.cs
- TextElement.cs
- IBuiltInEvidence.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- ArrayWithOffset.cs
- RestHandler.cs
- DataSvcMapFile.cs
- ProcessInputEventArgs.cs
- MachineKeyConverter.cs
- XhtmlCssHandler.cs
- DbDataRecord.cs
- ProgressChangedEventArgs.cs
- DLinqAssociationProvider.cs
- XmlSchemaSimpleTypeList.cs
- ValidatingReaderNodeData.cs
- SchemaTypeEmitter.cs
- CoreSwitches.cs
- ScrollPattern.cs
- Int16.cs
- OAVariantLib.cs
- SharedDp.cs
- PropertyEntry.cs
- PrimaryKeyTypeConverter.cs
- TableSectionStyle.cs
- DataGridViewRowPostPaintEventArgs.cs
- CryptoApi.cs
- CodeTypeReferenceCollection.cs
- DocumentReferenceCollection.cs
- ChildTable.cs
- WebPartDescription.cs
- Int16Converter.cs
- XmlSortKeyAccumulator.cs
- configsystem.cs
- CommandField.cs
- GeneratedCodeAttribute.cs
- Point3DAnimationUsingKeyFrames.cs
- EdmType.cs
- FontEmbeddingManager.cs
- NativeMsmqMessage.cs
- ObjectDataSource.cs
- RelationshipConverter.cs
- DataGridViewElement.cs
- BevelBitmapEffect.cs
- PropertyEmitter.cs
- HttpRequestCacheValidator.cs
- OleDbWrapper.cs
- DataKey.cs
- WorkflowServiceHostFactory.cs
- XmlEntity.cs
- CodeArrayCreateExpression.cs
- Timeline.cs
- ManagementNamedValueCollection.cs
- GridViewRowPresenter.cs
- GridViewDeletedEventArgs.cs
- ZipPackage.cs
- HttpValueCollection.cs
- CustomExpression.cs
- WindowHideOrCloseTracker.cs
- Expander.cs
- DateTimeSerializationSection.cs
- RegionData.cs
- AuthenticateEventArgs.cs
- SoapElementAttribute.cs
- SectionRecord.cs
- D3DImage.cs
- DataGridViewCheckBoxCell.cs
- AlphaSortedEnumConverter.cs
- EventMappingSettings.cs
- StructureChangedEventArgs.cs