Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Scheduling.cs
- Int64.cs
- GlobalizationSection.cs
- CommonRemoteMemoryBlock.cs
- OleDbFactory.cs
- QuaternionRotation3D.cs
- WSSecureConversationFeb2005.cs
- MSAANativeProvider.cs
- ValidatorCompatibilityHelper.cs
- ObjectConverter.cs
- Matrix3DValueSerializer.cs
- QilBinary.cs
- EditBehavior.cs
- WebServiceData.cs
- XmlSchemaAll.cs
- BindingSourceDesigner.cs
- CheckedListBox.cs
- CardSpacePolicyElement.cs
- IntersectQueryOperator.cs
- XsdCachingReader.cs
- MetadataItem_Static.cs
- EmptyElement.cs
- Span.cs
- EventNotify.cs
- AspProxy.cs
- WsatServiceCertificate.cs
- ObjectDataSourceDisposingEventArgs.cs
- ObjectHelper.cs
- CacheSection.cs
- RangeValidator.cs
- EncoderBestFitFallback.cs
- DocumentViewerBase.cs
- _OSSOCK.cs
- NonSerializedAttribute.cs
- Number.cs
- GeneralTransform.cs
- DbProviderServices.cs
- NullRuntimeConfig.cs
- WindowsSlider.cs
- TextServicesDisplayAttribute.cs
- ExpressionNormalizer.cs
- BypassElementCollection.cs
- DataGridViewCellStyle.cs
- ClientProxyGenerator.cs
- SortedDictionary.cs
- RtfToXamlLexer.cs
- ProfileBuildProvider.cs
- ButtonBase.cs
- Queue.cs
- XamlRtfConverter.cs
- WebPartDisplayModeEventArgs.cs
- OpenTypeLayout.cs
- BitmapImage.cs
- XmlResolver.cs
- StructuralComparisons.cs
- UnSafeCharBuffer.cs
- StringComparer.cs
- Executor.cs
- ExpressionList.cs
- HostedElements.cs
- ListViewCommandEventArgs.cs
- ContextMarshalException.cs
- smtppermission.cs
- HttpUnhandledOperationInvoker.cs
- FixedSOMFixedBlock.cs
- BitmapEffectRenderDataResource.cs
- CodeTypeParameter.cs
- UnsafeNativeMethods.cs
- OpenTypeCommon.cs
- ImportCatalogPart.cs
- CollaborationHelperFunctions.cs
- LayoutTableCell.cs
- RuleSettings.cs
- ContractBase.cs
- basecomparevalidator.cs
- DocumentPageViewAutomationPeer.cs
- DataService.cs
- LocalizedNameDescriptionPair.cs
- SurrogateDataContract.cs
- XmlSerializerSection.cs
- BinaryUtilClasses.cs
- base64Transforms.cs
- StreamWithDictionary.cs
- Double.cs
- MetaType.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- InputChannel.cs
- AppSettingsExpressionBuilder.cs
- ExpressionBuilderCollection.cs
- WebPartRestoreVerb.cs
- SpanIndex.cs
- EncoderNLS.cs
- Visitor.cs
- elementinformation.cs
- StringCollectionMarkupSerializer.cs
- SafeCryptContextHandle.cs
- OrCondition.cs
- COM2ExtendedTypeConverter.cs
- DataGridColumn.cs
- TemplateBindingExpression.cs