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
- ArcSegment.cs
- HttpCacheParams.cs
- TypeHelpers.cs
- FormsAuthenticationCredentials.cs
- CategoryList.cs
- RC2CryptoServiceProvider.cs
- WindowsGraphics2.cs
- TextSerializer.cs
- SetterBase.cs
- _NegoStream.cs
- OleDbSchemaGuid.cs
- Membership.cs
- HatchBrush.cs
- SoapEnvelopeProcessingElement.cs
- HandleRef.cs
- HttpCacheVary.cs
- StyleXamlTreeBuilder.cs
- ToolStripManager.cs
- _ConnectOverlappedAsyncResult.cs
- ContainerSelectorBehavior.cs
- DataQuery.cs
- DoWorkEventArgs.cs
- HelpFileFileNameEditor.cs
- UInt32Converter.cs
- SecurityUniqueId.cs
- WebPartConnectionsCancelEventArgs.cs
- PopupControlService.cs
- DocumentPageViewAutomationPeer.cs
- XMLDiffLoader.cs
- HtmlToClrEventProxy.cs
- OleDbMetaDataFactory.cs
- CultureMapper.cs
- _OSSOCK.cs
- xdrvalidator.cs
- DebuggerAttributes.cs
- StringBuilder.cs
- ObjectAnimationBase.cs
- ApplicationManager.cs
- TableParagraph.cs
- safex509handles.cs
- SslStream.cs
- FixedBufferAttribute.cs
- ExtensionWindow.cs
- Axis.cs
- InvalidPrinterException.cs
- TextSearch.cs
- BindingSource.cs
- CodeDOMUtility.cs
- MethodImplAttribute.cs
- X500Name.cs
- WorkflowViewService.cs
- BindingMemberInfo.cs
- SqlCachedBuffer.cs
- ApplicationCommands.cs
- ObjectStateFormatter.cs
- mongolianshape.cs
- BaseTemplateCodeDomTreeGenerator.cs
- AndCondition.cs
- IDQuery.cs
- ValueProviderWrapper.cs
- HttpHandlerActionCollection.cs
- CustomDictionarySources.cs
- _Win32.cs
- HostingEnvironmentException.cs
- NotFiniteNumberException.cs
- ILGenerator.cs
- ReferentialConstraintRoleElement.cs
- shaperfactoryquerycachekey.cs
- PartialList.cs
- HttpCapabilitiesBase.cs
- Rect3DConverter.cs
- DecimalAnimation.cs
- EventLogEntry.cs
- UIPropertyMetadata.cs
- ReadOnlyPropertyMetadata.cs
- SamlAttributeStatement.cs
- SectionVisual.cs
- GlobalizationAssembly.cs
- CryptoSession.cs
- SchemaManager.cs
- TimeSpanValidator.cs
- AQNBuilder.cs
- PartialArray.cs
- UnicastIPAddressInformationCollection.cs
- ContextStaticAttribute.cs
- RangeBase.cs
- ApplicationSecurityManager.cs
- Site.cs
- TextureBrush.cs
- PathFigureCollection.cs
- Lazy.cs
- RadioButton.cs
- ListDataHelper.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- FigureHelper.cs
- EventArgs.cs
- ToolStripDropDownDesigner.cs
- CloudCollection.cs
- Attributes.cs
- SqlSupersetValidator.cs