Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // //[....] //----------------------------------------------------------------------------- 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
- SettingsPropertyIsReadOnlyException.cs
- Tile.cs
- HttpListenerException.cs
- EnumUnknown.cs
- ToolboxBitmapAttribute.cs
- SiteMap.cs
- TimeSpanValidator.cs
- ProcessInfo.cs
- StandardOleMarshalObject.cs
- FolderLevelBuildProviderCollection.cs
- StrongNamePublicKeyBlob.cs
- EditorPart.cs
- CellParaClient.cs
- ZoneIdentityPermission.cs
- XmlCustomFormatter.cs
- ImageMetadata.cs
- DataServiceQueryOfT.cs
- ContainerControlDesigner.cs
- Literal.cs
- SlipBehavior.cs
- DependencyStoreSurrogate.cs
- SQLInt64Storage.cs
- CTreeGenerator.cs
- TakeQueryOptionExpression.cs
- EventSinkActivity.cs
- DesignerDataSourceView.cs
- ResourcePermissionBase.cs
- PageAdapter.cs
- ConfigXmlText.cs
- VBIdentifierTrimConverter.cs
- XsdCachingReader.cs
- ProtectedConfiguration.cs
- QilStrConcat.cs
- EventManager.cs
- StopStoryboard.cs
- SqlExpressionNullability.cs
- SqlMethodAttribute.cs
- ConfigurationManagerInternalFactory.cs
- AttributedMetaModel.cs
- HttpCapabilitiesBase.cs
- MetadataItemSerializer.cs
- EdmToObjectNamespaceMap.cs
- ReflectionHelper.cs
- BamlLocalizabilityResolver.cs
- PackagingUtilities.cs
- CodeMemberEvent.cs
- TransportConfigurationTypeElementCollection.cs
- ExpandoObject.cs
- SafeMarshalContext.cs
- SettingsBase.cs
- ZeroOpNode.cs
- InternalConfigRoot.cs
- InsufficientMemoryException.cs
- ResourceWriter.cs
- SubtreeProcessor.cs
- PackageRelationshipSelector.cs
- WebPartTracker.cs
- ContainerCodeDomSerializer.cs
- Root.cs
- ChangeDirector.cs
- HtmlAnchor.cs
- ProxyElement.cs
- ServiceThrottlingElement.cs
- ListParaClient.cs
- InputScopeConverter.cs
- BamlTreeNode.cs
- ColumnHeader.cs
- TransactionChannelFactory.cs
- Collection.cs
- ValidationErrorEventArgs.cs
- MaskedTextProvider.cs
- SurrogateSelector.cs
- TraceSwitch.cs
- BindingMemberInfo.cs
- AppSettingsReader.cs
- ElapsedEventArgs.cs
- UniqueIdentifierService.cs
- LinqDataSourceView.cs
- MsmqReceiveParameters.cs
- ALinqExpressionVisitor.cs
- HMAC.cs
- propertytag.cs
- CodeDefaultValueExpression.cs
- RemoteWebConfigurationHost.cs
- SrgsGrammarCompiler.cs
- QueryValue.cs
- ActionFrame.cs
- XmlDictionaryString.cs
- _BaseOverlappedAsyncResult.cs
- BezierSegment.cs
- FloaterBaseParaClient.cs
- Bits.cs
- InputScopeManager.cs
- DropShadowBitmapEffect.cs
- DetailsViewPagerRow.cs
- DynamicPropertyHolder.cs
- BamlRecordReader.cs
- XmlReaderSettings.cs
- ListViewInsertEventArgs.cs
- XmlAnyAttributeAttribute.cs