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
- DrawTreeNodeEventArgs.cs
- QueryOperationResponseOfT.cs
- RowTypeElement.cs
- NamespaceQuery.cs
- StandardBindingReliableSessionElement.cs
- SelectedCellsChangedEventArgs.cs
- TextElementEnumerator.cs
- HMACRIPEMD160.cs
- LineMetrics.cs
- WebPartsPersonalizationAuthorization.cs
- PointLightBase.cs
- DesignColumn.cs
- WindowsListViewGroup.cs
- ConnectionPoolRegistry.cs
- UiaCoreApi.cs
- SecurityPolicySection.cs
- FolderBrowserDialog.cs
- DataGridViewLinkCell.cs
- PropertyChangingEventArgs.cs
- ClientConfigPaths.cs
- DiscoveryClientChannelFactory.cs
- DiscriminatorMap.cs
- ButtonStandardAdapter.cs
- InstanceCreationEditor.cs
- AccessibleObject.cs
- InstanceStoreQueryResult.cs
- PolygonHotSpot.cs
- WebPartEditorCancelVerb.cs
- GcHandle.cs
- PenLineJoinValidation.cs
- PerfService.cs
- BooleanExpr.cs
- LabelEditEvent.cs
- DependencySource.cs
- ProgressBarAutomationPeer.cs
- ContainerFilterService.cs
- UIElementParagraph.cs
- WebColorConverter.cs
- StringUtil.cs
- Menu.cs
- RowUpdatingEventArgs.cs
- ListViewAutomationPeer.cs
- AssociatedControlConverter.cs
- TableDetailsRow.cs
- PropertyConverter.cs
- TabControlCancelEvent.cs
- Literal.cs
- ProxyWebPartConnectionCollection.cs
- PackUriHelper.cs
- PathBox.cs
- EastAsianLunisolarCalendar.cs
- CursorConverter.cs
- ObjectSpanRewriter.cs
- SqlRewriteScalarSubqueries.cs
- PeerCollaboration.cs
- ZoneIdentityPermission.cs
- EmptyCollection.cs
- LayoutTableCell.cs
- CapabilitiesSection.cs
- DrawListViewItemEventArgs.cs
- FlowDecisionLabelFeature.cs
- Random.cs
- ArgumentOutOfRangeException.cs
- SimpleApplicationHost.cs
- ClientRolePrincipal.cs
- DictionaryBase.cs
- HttpCacheVaryByContentEncodings.cs
- InstanceNotReadyException.cs
- StoragePropertyMapping.cs
- CacheVirtualItemsEvent.cs
- LambdaCompiler.ControlFlow.cs
- SqlGatherProducedAliases.cs
- PingReply.cs
- SerializationEventsCache.cs
- FileDialogPermission.cs
- ToolBarButtonClickEvent.cs
- FocusChangedEventArgs.cs
- BufferedGraphics.cs
- PreviewPrintController.cs
- XmlILIndex.cs
- DesignerSerializationOptionsAttribute.cs
- HandlerBase.cs
- InteropBitmapSource.cs
- QuaternionKeyFrameCollection.cs
- HttpHandlerActionCollection.cs
- XmlNodeChangedEventArgs.cs
- LinkConverter.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- WithStatement.cs
- ContravarianceAdapter.cs
- DataSourceNameHandler.cs
- XmlSerializationWriter.cs
- TcpProcessProtocolHandler.cs
- OracleDataReader.cs
- RoleGroupCollection.cs
- FocusManager.cs
- XmlSchemaValidationException.cs
- PlanCompiler.cs
- SQLCharsStorage.cs
- XmlWriterTraceListener.cs