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
- AssemblyInfo.cs
- Section.cs
- Maps.cs
- XappLauncher.cs
- ParameterToken.cs
- QilName.cs
- HttpWebRequestElement.cs
- PromptStyle.cs
- ByteStorage.cs
- DataBoundControlAdapter.cs
- ProtocolViolationException.cs
- UInt64Storage.cs
- InfoCardProofToken.cs
- TableChangeProcessor.cs
- SendSecurityHeaderElementContainer.cs
- SignedInfo.cs
- HostedElements.cs
- TitleStyle.cs
- CommandBinding.cs
- GridItemPattern.cs
- FileVersion.cs
- CodeGroup.cs
- XmlValidatingReaderImpl.cs
- DataSourceCache.cs
- XmlNodeChangedEventArgs.cs
- CompositeControl.cs
- Renderer.cs
- SecurityTokenException.cs
- TemplateContentLoader.cs
- ToolStripComboBox.cs
- RegexStringValidator.cs
- ContourSegment.cs
- ContentHostHelper.cs
- SafePEFileHandle.cs
- DBConnection.cs
- FileDialog.cs
- XmlWellformedWriter.cs
- HtmlWindowCollection.cs
- ValueExpressions.cs
- SortExpressionBuilder.cs
- DataServiceContext.cs
- DrawingContextWalker.cs
- EntityParameterCollection.cs
- ToolStripStatusLabel.cs
- PermissionToken.cs
- RSAOAEPKeyExchangeFormatter.cs
- SymLanguageVendor.cs
- EmbossBitmapEffect.cs
- StaticResourceExtension.cs
- EncoderReplacementFallback.cs
- TraceHandler.cs
- LocalizationParserHooks.cs
- CodeSnippetExpression.cs
- DataGridViewCellFormattingEventArgs.cs
- DataGridViewRowCancelEventArgs.cs
- EntityReference.cs
- RNGCryptoServiceProvider.cs
- MemoryRecordBuffer.cs
- Compiler.cs
- GregorianCalendar.cs
- RbTree.cs
- ToolTipService.cs
- AutomationAttributeInfo.cs
- EventHandlers.cs
- ToolStripPanelCell.cs
- PlatformCulture.cs
- TailPinnedEventArgs.cs
- BitVector32.cs
- ConditionalAttribute.cs
- panel.cs
- _NestedMultipleAsyncResult.cs
- ModuleBuilder.cs
- HyperLinkField.cs
- Color.cs
- GridView.cs
- BounceEase.cs
- InvokeBinder.cs
- FormViewCommandEventArgs.cs
- ConfigurationManagerHelper.cs
- ResourceProviderFactory.cs
- DbProviderConfigurationHandler.cs
- CommentEmitter.cs
- MenuAutomationPeer.cs
- SuppressedPackageProperties.cs
- ConfigurationPropertyAttribute.cs
- ValueChangedEventManager.cs
- SHA384.cs
- CriticalExceptions.cs
- UnsafeNativeMethodsCLR.cs
- TextBoxBase.cs
- TextEndOfParagraph.cs
- FileDataSourceCache.cs
- ConstraintStruct.cs
- CookieProtection.cs
- ScriptIgnoreAttribute.cs
- _NestedMultipleAsyncResult.cs
- UIElementAutomationPeer.cs
- ClientEventManager.cs
- AdornerPresentationContext.cs
- ServiceErrorHandler.cs