Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- MimeMapping.cs
- VarRefManager.cs
- AnimationTimeline.cs
- SamlAuthorityBinding.cs
- SqlClientFactory.cs
- AspProxy.cs
- InputScope.cs
- View.cs
- FontStretch.cs
- ObjectListCommandCollection.cs
- WaitHandle.cs
- PageVisual.cs
- SmtpReplyReaderFactory.cs
- ControlPropertyNameConverter.cs
- PointHitTestParameters.cs
- TypeSemantics.cs
- NetworkInterface.cs
- PasswordRecovery.cs
- JournalEntry.cs
- MediaElement.cs
- WindowsHyperlink.cs
- RichTextBox.cs
- CodeDirectionExpression.cs
- EntityChangedParams.cs
- DataGridViewColumnCollection.cs
- arabicshape.cs
- ViewPort3D.cs
- DependencyProperty.cs
- DesignSurfaceManager.cs
- MetabaseSettings.cs
- XmlHierarchicalDataSourceView.cs
- DateTimeFormatInfo.cs
- AudioFormatConverter.cs
- TextServicesDisplayAttribute.cs
- ValidationUtility.cs
- FunctionDetailsReader.cs
- ReachDocumentSequenceSerializerAsync.cs
- DoubleLinkListEnumerator.cs
- ServiceBehaviorAttribute.cs
- DataGridViewRowStateChangedEventArgs.cs
- ComPlusServiceLoader.cs
- Merger.cs
- GradientStop.cs
- FilteredAttributeCollection.cs
- InkCollectionBehavior.cs
- DataGridViewTextBoxColumn.cs
- DropShadowEffect.cs
- SRDisplayNameAttribute.cs
- AuthenticationSection.cs
- ImageList.cs
- ListBoxChrome.cs
- MasterPageCodeDomTreeGenerator.cs
- peersecuritysettings.cs
- OleDbReferenceCollection.cs
- XmlTextReaderImplHelpers.cs
- UniqueCodeIdentifierScope.cs
- SetIndexBinder.cs
- SplayTreeNode.cs
- ProtocolState.cs
- HttpModuleAction.cs
- SqlEnums.cs
- AutomationPatternInfo.cs
- EntityContainer.cs
- EventLogPermissionAttribute.cs
- TextLine.cs
- MemberMemberBinding.cs
- DetailsViewDesigner.cs
- LabelAutomationPeer.cs
- DropAnimation.xaml.cs
- SoundPlayer.cs
- XmlSortKeyAccumulator.cs
- ExpressionLink.cs
- ProcessModule.cs
- PasswordTextContainer.cs
- TimelineGroup.cs
- SiteOfOriginContainer.cs
- MinimizableAttributeTypeConverter.cs
- ListViewUpdatedEventArgs.cs
- HttpCookiesSection.cs
- TimeZone.cs
- StylusEditingBehavior.cs
- SemanticTag.cs
- PtsHost.cs
- RawMouseInputReport.cs
- MessageQueuePermission.cs
- HtmlWindow.cs
- CachedBitmap.cs
- PtsHost.cs
- Crc32.cs
- StorageConditionPropertyMapping.cs
- WebPartConnectionsEventArgs.cs
- DataGridTextBox.cs
- XmlSchemaExternal.cs
- ExpressionSelection.cs
- PhysicalFontFamily.cs
- WindowsHyperlink.cs
- EmptyQuery.cs
- RuleEngine.cs
- CellPartitioner.cs
- DispatcherFrame.cs