Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GatewayDefinition.cs
- MenuEventArgs.cs
- ItemAutomationPeer.cs
- XmlILAnnotation.cs
- Expressions.cs
- EncoderParameter.cs
- NamespaceEmitter.cs
- IDReferencePropertyAttribute.cs
- AttachmentService.cs
- Variant.cs
- CalendarDayButton.cs
- WebSysDescriptionAttribute.cs
- CompositeFontFamily.cs
- ConfigXmlComment.cs
- CanonicalFormWriter.cs
- EmptyEnumerable.cs
- ToolStripStatusLabel.cs
- CollectionViewSource.cs
- xdrvalidator.cs
- EmptyEnumerable.cs
- SimpleTextLine.cs
- BulletedList.cs
- FrameworkName.cs
- TableChangeProcessor.cs
- ObjectView.cs
- ScriptResourceHandler.cs
- Path.cs
- ADMembershipUser.cs
- PublishLicense.cs
- CardSpaceException.cs
- SchemaContext.cs
- IProvider.cs
- PropertyNames.cs
- Matrix3D.cs
- PenContext.cs
- TaskSchedulerException.cs
- TransactedBatchingBehavior.cs
- HandlerFactoryWrapper.cs
- EditorPartCollection.cs
- SqlDataSourceStatusEventArgs.cs
- LinqDataSourceHelper.cs
- Encoding.cs
- HandlerFactoryWrapper.cs
- ModifierKeysValueSerializer.cs
- oledbconnectionstring.cs
- _ContextAwareResult.cs
- MenuStrip.cs
- HtmlTable.cs
- WebPartUtil.cs
- SiteMapSection.cs
- DocumentCollection.cs
- MaterialCollection.cs
- ControlPropertyNameConverter.cs
- OleDbPropertySetGuid.cs
- VerificationAttribute.cs
- CodeDirectiveCollection.cs
- _NetworkingPerfCounters.cs
- UdpConstants.cs
- ReaderWriterLockWrapper.cs
- MemoryFailPoint.cs
- UrlMapping.cs
- InvalidBodyAccessException.cs
- MultiBindingExpression.cs
- Mutex.cs
- ConfigXmlSignificantWhitespace.cs
- MergeFailedEvent.cs
- StaticFileHandler.cs
- SslStream.cs
- SqlCachedBuffer.cs
- KeyValuePair.cs
- WindowsNonControl.cs
- DataConnectionHelper.cs
- ProfileSection.cs
- ToolboxComponentsCreatedEventArgs.cs
- GetWinFXPath.cs
- SqlCharStream.cs
- EDesignUtil.cs
- Int16AnimationBase.cs
- FileLevelControlBuilderAttribute.cs
- LoadWorkflowByKeyAsyncResult.cs
- InterleavedZipPartStream.cs
- XmlSerializerNamespaces.cs
- ControlCachePolicy.cs
- Ticks.cs
- LocalizationParserHooks.cs
- Clipboard.cs
- X509CertificateCollection.cs
- Privilege.cs
- ServiceContractDetailViewControl.cs
- CodeTypeParameterCollection.cs
- RawUIStateInputReport.cs
- ClonableStack.cs
- GeneralTransform3D.cs
- FigureHelper.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- DataGridCommandEventArgs.cs
- SynchronousChannelMergeEnumerator.cs
- LogArchiveSnapshot.cs
- UnconditionalPolicy.cs
- AuthenticationServiceManager.cs