Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / XPath / Internal / EmptyQuery.cs / 1 / EmptyQuery.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; using System.Globalization; using System.Xml.Xsl; using System.Collections; internal sealed class EmptyQuery : Query { public override XPathNavigator Advance() { return null; } public override XPathNodeIterator Clone() { return this; } public override object Evaluate(XPathNodeIterator context) { return this; } public override int CurrentPosition { get { return 0; } } public override int Count { get { return 0; } } public override QueryProps Properties { get { return QueryProps.Merge | QueryProps.Cached | QueryProps.Position | QueryProps.Count; } } public override XPathResultType StaticType { get { return XPathResultType.NodeSet; } } public override void Reset() { } public override XPathNavigator Current { get { return null; } } } } // 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
- TokenBasedSetEnumerator.cs
- CapiSafeHandles.cs
- HighContrastHelper.cs
- SvcMapFile.cs
- TdsValueSetter.cs
- UnaryOperationBinder.cs
- ScheduleChanges.cs
- TrustLevelCollection.cs
- SharedUtils.cs
- BindingGroup.cs
- XmlNamespaceMappingCollection.cs
- SRDisplayNameAttribute.cs
- XmlComplianceUtil.cs
- HttpHandlerActionCollection.cs
- ConstructorBuilder.cs
- TextSpanModifier.cs
- RowUpdatedEventArgs.cs
- QilFactory.cs
- AsyncResult.cs
- ExitEventArgs.cs
- HitTestWithPointDrawingContextWalker.cs
- X509PeerCertificateElement.cs
- LineServicesRun.cs
- PropertyChangedEventManager.cs
- TabItemWrapperAutomationPeer.cs
- InputLanguageCollection.cs
- RepeatEnumerable.cs
- SafeCryptContextHandle.cs
- AtomMaterializer.cs
- EdmProviderManifest.cs
- SID.cs
- httpstaticobjectscollection.cs
- DataDocumentXPathNavigator.cs
- _ServiceNameStore.cs
- XPathException.cs
- ElementAtQueryOperator.cs
- DataGridViewCellParsingEventArgs.cs
- HashAlgorithm.cs
- OleDbWrapper.cs
- _Win32.cs
- EdmTypeAttribute.cs
- TextDecorationCollectionConverter.cs
- TagMapCollection.cs
- EventLogPermission.cs
- ObjectToModelValueConverter.cs
- FileLogRecordEnumerator.cs
- TheQuery.cs
- ConfigurationSection.cs
- CipherData.cs
- TdsRecordBufferSetter.cs
- ThicknessAnimationBase.cs
- XmlObjectSerializerWriteContextComplex.cs
- TreeWalker.cs
- OdbcError.cs
- CompensationDesigner.cs
- HtmlTableCellCollection.cs
- XmlSchemaRedefine.cs
- MetadataExchangeClient.cs
- SimpleBitVector32.cs
- NavigationWindowAutomationPeer.cs
- EditorPartCollection.cs
- TrustManagerMoreInformation.cs
- FileClassifier.cs
- ServiceContractGenerator.cs
- CanonicalXml.cs
- TraceUtility.cs
- SqlXmlStorage.cs
- UpDownEvent.cs
- UnmanagedHandle.cs
- SpecialFolderEnumConverter.cs
- TreeView.cs
- DecimalSumAggregationOperator.cs
- QueryUtil.cs
- MetadataPropertyCollection.cs
- FrameAutomationPeer.cs
- StackBuilderSink.cs
- DataTableReaderListener.cs
- BindMarkupExtensionSerializer.cs
- BrowserCapabilitiesCompiler.cs
- Size3DValueSerializer.cs
- TagMapInfo.cs
- SrgsSemanticInterpretationTag.cs
- OAVariantLib.cs
- WebServiceErrorEvent.cs
- CollectionViewGroupInternal.cs
- WebSysDescriptionAttribute.cs
- SqlHelper.cs
- DataGridViewCellValueEventArgs.cs
- Timer.cs
- PaperSize.cs
- KeyboardEventArgs.cs
- assemblycache.cs
- RemoteWebConfigurationHostServer.cs
- GridProviderWrapper.cs
- InternalResources.cs
- BitmapEffectState.cs
- ContextConfiguration.cs
- RegexCompiler.cs
- DataGridViewCellStyleEditor.cs
- ParsedAttributeCollection.cs