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
- EntityFunctions.cs
- OledbConnectionStringbuilder.cs
- KeyedHashAlgorithm.cs
- OdbcConnectionFactory.cs
- AtomServiceDocumentSerializer.cs
- IconBitmapDecoder.cs
- PageScaling.cs
- MultiDataTrigger.cs
- ScriptControlDescriptor.cs
- NetworkInterface.cs
- ModifierKeysConverter.cs
- PerformanceCounterPermission.cs
- MailMessageEventArgs.cs
- KoreanLunisolarCalendar.cs
- TreeNodeBindingCollection.cs
- OptimizedTemplateContentHelper.cs
- Command.cs
- FocusWithinProperty.cs
- MoveSizeWinEventHandler.cs
- ToolStripDropDownClosedEventArgs.cs
- HostedTransportConfigurationBase.cs
- PeerToPeerException.cs
- Int16Animation.cs
- DefaultWorkflowLoaderService.cs
- Knowncolors.cs
- Model3DGroup.cs
- CaseCqlBlock.cs
- TextEndOfLine.cs
- ComPlusInstanceContextInitializer.cs
- StandardBindingCollectionElement.cs
- PartitionerStatic.cs
- AccessorTable.cs
- InheritanceContextHelper.cs
- ProviderUtil.cs
- WindowsListViewSubItem.cs
- MachineSettingsSection.cs
- ProfileSection.cs
- OracleCommand.cs
- StreamGeometryContext.cs
- SrgsSubset.cs
- FileUpload.cs
- BookmarkScopeHandle.cs
- XmlEntityReference.cs
- RuntimeHandles.cs
- TraceSection.cs
- EditorBrowsableAttribute.cs
- ArrangedElement.cs
- OdbcConnectionPoolProviderInfo.cs
- NamespaceDisplay.xaml.cs
- RoleManagerModule.cs
- DataGridParentRows.cs
- DBConcurrencyException.cs
- ContextInformation.cs
- CodeTypeReference.cs
- RequestTimeoutManager.cs
- ValidatedControlConverter.cs
- ViewManager.cs
- ValueHandle.cs
- QuotedPrintableStream.cs
- AdornerHitTestResult.cs
- ImageAutomationPeer.cs
- XPathBuilder.cs
- ProjectionCamera.cs
- TextServicesLoader.cs
- TargetException.cs
- DodSequenceMerge.cs
- TextEncodedRawTextWriter.cs
- RadioButton.cs
- XmlWrappingReader.cs
- NetworkInterface.cs
- CompensationDesigner.cs
- IPPacketInformation.cs
- StringResourceManager.cs
- SafeNativeMethods.cs
- XmlAnyAttributeAttribute.cs
- View.cs
- DataRowCollection.cs
- SqlParameterCollection.cs
- Lazy.cs
- SQLDecimal.cs
- XmlNavigatorStack.cs
- FixedSOMLineCollection.cs
- RegisteredArrayDeclaration.cs
- BinaryNegotiation.cs
- KerberosRequestorSecurityToken.cs
- LineServicesCallbacks.cs
- SettingsSection.cs
- DiscoveryClientDuplexChannel.cs
- GridLength.cs
- ExceptionUtility.cs
- ProcessThread.cs
- TextBoxRenderer.cs
- MobileControlDesigner.cs
- ByteKeyFrameCollection.cs
- httpapplicationstate.cs
- SoapSchemaMember.cs
- MsmqSecureHashAlgorithm.cs
- BlurEffect.cs
- DataControlField.cs
- HashHelpers.cs