Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //[....] //----------------------------------------------------------------------------- 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
- ServiceMemoryGates.cs
- SerializationEventsCache.cs
- Semaphore.cs
- ScalarOps.cs
- Triangle.cs
- mediapermission.cs
- LoginView.cs
- TablePattern.cs
- DocumentViewerAutomationPeer.cs
- CharacterMetrics.cs
- httpstaticobjectscollection.cs
- SQLConvert.cs
- WhitespaceRuleReader.cs
- BamlLocalizableResourceKey.cs
- SystemTcpConnection.cs
- XmlReturnReader.cs
- CharStorage.cs
- CompileXomlTask.cs
- NaturalLanguageHyphenator.cs
- CodeDirectoryCompiler.cs
- XmlSchemaRedefine.cs
- UnsafeNativeMethods.cs
- RuntimeEnvironment.cs
- WorkerProcess.cs
- KeyFrames.cs
- DrawingAttributeSerializer.cs
- Simplifier.cs
- InvalidComObjectException.cs
- SqlTriggerAttribute.cs
- SafeNativeMethods.cs
- RectAnimationBase.cs
- Base64Encoder.cs
- SpotLight.cs
- Handle.cs
- TcpActivation.cs
- ProxyGenerationError.cs
- Console.cs
- __Filters.cs
- MetadataCache.cs
- ComponentDesigner.cs
- DependencyPropertyConverter.cs
- DataGridViewCellCancelEventArgs.cs
- ObjectHandle.cs
- GridErrorDlg.cs
- NavigationWindow.cs
- DataGridViewColumnEventArgs.cs
- LocalFileSettingsProvider.cs
- DataGridBeginningEditEventArgs.cs
- DSASignatureFormatter.cs
- ApplicationServicesHostFactory.cs
- NativeMethods.cs
- WebEventTraceProvider.cs
- ListSourceHelper.cs
- CustomValidator.cs
- PropertyGridEditorPart.cs
- MouseOverProperty.cs
- AlternationConverter.cs
- DataDocumentXPathNavigator.cs
- DataDocumentXPathNavigator.cs
- ForwardPositionQuery.cs
- Tuple.cs
- AppDomainProtocolHandler.cs
- DropShadowEffect.cs
- GetWorkflowTree.cs
- DemultiplexingClientMessageFormatter.cs
- precedingsibling.cs
- ServiceMemoryGates.cs
- DataTableCollection.cs
- SortDescriptionCollection.cs
- BrowsableAttribute.cs
- EncodingInfo.cs
- DispatcherHookEventArgs.cs
- BitmapMetadataEnumerator.cs
- ComponentManagerBroker.cs
- QueryRewriter.cs
- DataContractSerializerSection.cs
- ValidationSummary.cs
- ModelVisual3D.cs
- Pen.cs
- FormatSettings.cs
- StateDesigner.LayoutSelectionGlyph.cs
- LogicalExpr.cs
- Literal.cs
- IDQuery.cs
- DesignerActionService.cs
- ClientUtils.cs
- MessageSmuggler.cs
- HwndHost.cs
- WebZone.cs
- ListItemParagraph.cs
- ButtonBaseAdapter.cs
- CounterCreationData.cs
- ZipPackage.cs
- UInt16Converter.cs
- SpanIndex.cs
- FilterElement.cs
- PassportAuthenticationEventArgs.cs
- IsolatedStorageFilePermission.cs
- ListViewGroupConverter.cs
- NativeMethods.cs