Code:
/ DotNET / DotNET / 8.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
- WindowsSysHeader.cs
- RectangleHotSpot.cs
- TableRowGroup.cs
- Encoder.cs
- HelpExampleGenerator.cs
- ValuePatternIdentifiers.cs
- Journaling.cs
- TypefaceMetricsCache.cs
- HandlerElement.cs
- Clause.cs
- HeaderedContentControl.cs
- EpmTargetTree.cs
- OperandQuery.cs
- MsmqIntegrationProcessProtocolHandler.cs
- UdpAnnouncementEndpoint.cs
- StretchValidation.cs
- EventBuilder.cs
- CodeDirectoryCompiler.cs
- PersistChildrenAttribute.cs
- SerializationInfoEnumerator.cs
- BaseTypeViewSchema.cs
- BookmarkEventArgs.cs
- XmlElementCollection.cs
- XPathNavigatorKeyComparer.cs
- Function.cs
- ConnectionStringEditor.cs
- ActivationArguments.cs
- SqlDependencyListener.cs
- TeredoHelper.cs
- StrongNamePublicKeyBlob.cs
- HttpModuleActionCollection.cs
- TypeDependencyAttribute.cs
- MobileListItem.cs
- ApplicationFileParser.cs
- UnsafeNativeMethods.cs
- QualificationDataItem.cs
- Win32NamedPipes.cs
- ObjectAnimationUsingKeyFrames.cs
- HtmlUtf8RawTextWriter.cs
- SafeEventHandle.cs
- DynamicMethod.cs
- EventProviderWriter.cs
- ProfileProvider.cs
- TextDpi.cs
- ResizingMessageFilter.cs
- TypeCodeDomSerializer.cs
- CharacterHit.cs
- FixUp.cs
- PhysicalAddress.cs
- TextEditorDragDrop.cs
- ManagementScope.cs
- FileLoadException.cs
- CodeTypeDeclarationCollection.cs
- DefaultValueAttribute.cs
- ArgumentException.cs
- SqlInternalConnectionTds.cs
- RootBrowserWindow.cs
- LongTypeConverter.cs
- MemoryMappedFile.cs
- TextBoxBaseDesigner.cs
- DbSetClause.cs
- AsyncOperation.cs
- WorkflowOwnershipException.cs
- HtmlTableRowCollection.cs
- CanonicalXml.cs
- XmlSchemaSimpleTypeList.cs
- TemplateControlParser.cs
- CreateUserWizardStep.cs
- MergeFailedEvent.cs
- _Win32.cs
- SchemaNotation.cs
- XsltArgumentList.cs
- SqlWriter.cs
- SecurityRuntime.cs
- MenuItemStyleCollection.cs
- HandoffBehavior.cs
- BinarySerializer.cs
- PointCollectionValueSerializer.cs
- UiaCoreTypesApi.cs
- NegatedConstant.cs
- WebPartDescription.cs
- IisTraceWebEventProvider.cs
- FlowDocumentScrollViewer.cs
- DeferredSelectedIndexReference.cs
- Win32SafeHandles.cs
- DbTypeMap.cs
- PriorityBinding.cs
- ExpressionTextBox.xaml.cs
- RequestCache.cs
- WebInvokeAttribute.cs
- DataBoundControlHelper.cs
- NodeFunctions.cs
- FirstMatchCodeGroup.cs
- TabControlAutomationPeer.cs
- ListMarkerSourceInfo.cs
- StrokeCollection2.cs
- ArglessEventHandlerProxy.cs
- KeyConverter.cs
- connectionpool.cs
- TextTreeObjectNode.cs