Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / XPath / Internal / EmptyQuery.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ClassHandlersStore.cs
- DataPagerFieldItem.cs
- CodeTypeDeclaration.cs
- Int32AnimationBase.cs
- MemberExpressionHelper.cs
- Propagator.ExtentPlaceholderCreator.cs
- ServiceOperationListItemList.cs
- InheritanceAttribute.cs
- SettingsContext.cs
- WebResponse.cs
- ApplicationInfo.cs
- RealizationDrawingContextWalker.cs
- PopupEventArgs.cs
- NumericUpDown.cs
- OneOfConst.cs
- _ConnectOverlappedAsyncResult.cs
- NativeWindow.cs
- Pointer.cs
- ShimAsPublicXamlType.cs
- ProcessModelInfo.cs
- XhtmlBasicListAdapter.cs
- FixUp.cs
- RuntimeArgumentHandle.cs
- NameTable.cs
- recordstatescratchpad.cs
- SRef.cs
- Clause.cs
- PixelFormatConverter.cs
- EventToken.cs
- AsmxEndpointPickerExtension.cs
- HashRepartitionEnumerator.cs
- SoapIgnoreAttribute.cs
- SplitterEvent.cs
- ComboBox.cs
- TraceContext.cs
- DesignerDataConnection.cs
- Enumerable.cs
- ObservableDictionary.cs
- VScrollProperties.cs
- login.cs
- ManagementObjectCollection.cs
- CryptoApi.cs
- Axis.cs
- TransportConfigurationTypeElement.cs
- CultureInfo.cs
- AdCreatedEventArgs.cs
- SafeTokenHandle.cs
- CollectionConverter.cs
- IxmlLineInfo.cs
- sqlstateclientmanager.cs
- HtmlUtf8RawTextWriter.cs
- StackBuilderSink.cs
- PropertyBuilder.cs
- ToolStripDropDownClosedEventArgs.cs
- TextFormatterImp.cs
- GraphicsContainer.cs
- DataBoundControlAdapter.cs
- OleDbParameter.cs
- MessageSecurityProtocolFactory.cs
- ApplicationDirectory.cs
- Fx.cs
- LocalizableResourceBuilder.cs
- LinqToSqlWrapper.cs
- WebHttpBehavior.cs
- RefreshPropertiesAttribute.cs
- UrlMappingsModule.cs
- WmlCommandAdapter.cs
- SessionEndingCancelEventArgs.cs
- XmlNamespaceManager.cs
- TypedTableBase.cs
- TokenBasedSetEnumerator.cs
- GraphicsState.cs
- ChangePasswordDesigner.cs
- LogLogRecordHeader.cs
- Activator.cs
- Encoder.cs
- _ListenerAsyncResult.cs
- Image.cs
- MetafileHeaderWmf.cs
- Manipulation.cs
- SchemaCreator.cs
- StreamResourceInfo.cs
- XmlSchemaSimpleContentRestriction.cs
- CodeEntryPointMethod.cs
- AxisAngleRotation3D.cs
- QueueProcessor.cs
- SymbolMethod.cs
- DataTemplate.cs
- AuthorizationRuleCollection.cs
- TextElementCollection.cs
- OracleCommand.cs
- DataControlImageButton.cs
- DetailsViewUpdatedEventArgs.cs
- AnimatedTypeHelpers.cs
- DataBoundControl.cs
- ImageListUtils.cs
- CssStyleCollection.cs
- WindowsToolbar.cs
- QilName.cs
- ApplicationContext.cs