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
- SelectionPatternIdentifiers.cs
- FormConverter.cs
- SoapSchemaMember.cs
- XhtmlConformanceSection.cs
- TypeSystemHelpers.cs
- XmlSecureResolver.cs
- ElementProxy.cs
- ReliableInputConnection.cs
- UnlockInstanceAsyncResult.cs
- TableColumn.cs
- SqlBulkCopyColumnMappingCollection.cs
- RadioButton.cs
- rsa.cs
- DefaultBinder.cs
- XmlSerializationReader.cs
- SemaphoreSlim.cs
- WebBrowserSiteBase.cs
- ActiveXHost.cs
- XmlSchemaCollection.cs
- StrongNamePublicKeyBlob.cs
- ListenerElementsCollection.cs
- CommonRemoteMemoryBlock.cs
- SqlDataSourceQueryEditor.cs
- _NTAuthentication.cs
- DesignRelation.cs
- FirewallWrapper.cs
- cache.cs
- X509Extension.cs
- IDataContractSurrogate.cs
- SerializationSectionGroup.cs
- WebContext.cs
- RequestQueue.cs
- PathFigureCollectionConverter.cs
- ISAPIApplicationHost.cs
- WebResourceUtil.cs
- Stylesheet.cs
- XmlSchemaInclude.cs
- MenuItemCollection.cs
- LayoutTableCell.cs
- CachedBitmap.cs
- TreeViewImageIndexConverter.cs
- IImplicitResourceProvider.cs
- InputProcessorProfiles.cs
- XmlDomTextWriter.cs
- LogLogRecord.cs
- SiteMapNodeItem.cs
- ImageAnimator.cs
- SchemaInfo.cs
- QilName.cs
- ArrayConverter.cs
- SendActivityDesignerTheme.cs
- DispatcherExceptionEventArgs.cs
- ConsoleTraceListener.cs
- Int16AnimationUsingKeyFrames.cs
- wmiprovider.cs
- VirtualPath.cs
- EditorPartChrome.cs
- ClipboardProcessor.cs
- ToolTipService.cs
- WebPartDisplayModeEventArgs.cs
- ColorTransform.cs
- StreamGeometry.cs
- ExceptionTranslationTable.cs
- WindowsListViewScroll.cs
- Identifier.cs
- sqlser.cs
- PageSettings.cs
- AppDomainGrammarProxy.cs
- ConfigXmlAttribute.cs
- TableSectionStyle.cs
- PeerApplication.cs
- TextContainerHelper.cs
- PolyQuadraticBezierSegment.cs
- TemplateLookupAction.cs
- dtdvalidator.cs
- NativeMethods.cs
- DataQuery.cs
- SoapReflectionImporter.cs
- FixedPageStructure.cs
- SqlEnums.cs
- Cursor.cs
- COM2FontConverter.cs
- XsltCompileContext.cs
- NumericUpDownAcceleration.cs
- ToolStripManager.cs
- WebColorConverter.cs
- EllipseGeometry.cs
- SessionParameter.cs
- FrugalMap.cs
- SafeFindHandle.cs
- Base64Stream.cs
- Rfc2898DeriveBytes.cs
- ExtenderProvidedPropertyAttribute.cs
- TableSectionStyle.cs
- BinaryKeyIdentifierClause.cs
- ProtectedProviderSettings.cs
- FilterUserControlBase.cs
- SemaphoreSecurity.cs
- DoubleCollectionValueSerializer.cs
- LiteralSubsegment.cs