Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- ISAPIRuntime.cs
- MappingModelBuildProvider.cs
- CodeChecksumPragma.cs
- OleDbTransaction.cs
- CommandPlan.cs
- LifetimeServices.cs
- SafeSecurityHelper.cs
- ReadOnlyMetadataCollection.cs
- CodeCastExpression.cs
- SocketElement.cs
- unsafenativemethodstextservices.cs
- DesignerInterfaces.cs
- EditorPartChrome.cs
- CompoundFileIOPermission.cs
- BitmapEffectDrawingContextState.cs
- QilNode.cs
- DetailsViewModeEventArgs.cs
- SqlDataSourceCommandEventArgs.cs
- CroppedBitmap.cs
- LinqDataSourceContextEventArgs.cs
- MsmqInputChannelListenerBase.cs
- HierarchicalDataTemplate.cs
- UIElementParaClient.cs
- InputScopeManager.cs
- Viewport2DVisual3D.cs
- XmlTextEncoder.cs
- WhitespaceRule.cs
- FlowLayout.cs
- OleCmdHelper.cs
- TextSearch.cs
- TriState.cs
- MatrixConverter.cs
- ViewCellRelation.cs
- Image.cs
- TypeDescriptor.cs
- CodeTypeDelegate.cs
- PeerContact.cs
- sortedlist.cs
- UnionExpr.cs
- DataSetMappper.cs
- AtomServiceDocumentSerializer.cs
- EventLogPermissionEntry.cs
- ObjectPersistData.cs
- DocumentXPathNavigator.cs
- HashHelper.cs
- SqlBulkCopyColumnMapping.cs
- DataError.cs
- Funcletizer.cs
- FormViewRow.cs
- Help.cs
- SettingsPropertyValueCollection.cs
- Activator.cs
- ToolStripSystemRenderer.cs
- NewExpression.cs
- Parallel.cs
- SystemFonts.cs
- ButtonBaseAdapter.cs
- PeerObject.cs
- PassportAuthenticationModule.cs
- PageContentAsyncResult.cs
- TcpStreams.cs
- TableRow.cs
- PaintValueEventArgs.cs
- EntityContainer.cs
- OrderedDictionary.cs
- ReferenceCountedObject.cs
- Help.cs
- webclient.cs
- ResourceProperty.cs
- SessionStateUtil.cs
- FixedTextPointer.cs
- UnaryNode.cs
- XmlException.cs
- PropertyItem.cs
- ErrorHandler.cs
- Span.cs
- Grammar.cs
- PermissionAttributes.cs
- KernelTypeValidation.cs
- WebPartTracker.cs
- HttpRuntimeSection.cs
- TextElementCollectionHelper.cs
- XmlEntityReference.cs
- BrushMappingModeValidation.cs
- AttributeCollection.cs
- ComPlusAuthorization.cs
- RegionData.cs
- ButtonBase.cs
- WebBrowserPermission.cs
- AddToCollection.cs
- HtmlLiteralTextAdapter.cs
- CmsInterop.cs
- GlobalizationAssembly.cs
- DataGridViewDataConnection.cs
- TdsParserSafeHandles.cs
- QuadraticBezierSegment.cs
- _NetworkingPerfCounters.cs
- NetworkInformationException.cs
- HttpWebRequest.cs
- Rect.cs