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
- EndpointFilterProvider.cs
- UpdateCommand.cs
- ProviderConnectionPointCollection.cs
- SystemMulticastIPAddressInformation.cs
- SimpleTypeResolver.cs
- Transactions.cs
- GridViewCommandEventArgs.cs
- DbDeleteCommandTree.cs
- StorageModelBuildProvider.cs
- QueryCacheKey.cs
- SafeMarshalContext.cs
- EncodingNLS.cs
- DetailsViewRowCollection.cs
- DbConnectionStringBuilder.cs
- RegexCompilationInfo.cs
- MissingFieldException.cs
- LOSFormatter.cs
- SlipBehavior.cs
- FirewallWrapper.cs
- WebErrorHandler.cs
- ConfigurationSettings.cs
- CodeGotoStatement.cs
- InvalidateEvent.cs
- RadialGradientBrush.cs
- ConfigUtil.cs
- DataGrid.cs
- XmlSchemaValidator.cs
- RectangleGeometry.cs
- UIAgentMonitor.cs
- RotateTransform3D.cs
- EmbossBitmapEffect.cs
- InteropAutomationProvider.cs
- DataTableTypeConverter.cs
- SymmetricAlgorithm.cs
- BulletedListDesigner.cs
- DataBindingList.cs
- TypeElement.cs
- Point.cs
- ImportRequest.cs
- ParamArrayAttribute.cs
- KeyPullup.cs
- MethodToken.cs
- SelectedDatesCollection.cs
- WindowProviderWrapper.cs
- MonitorWrapper.cs
- HScrollBar.cs
- TextTreePropertyUndoUnit.cs
- DetailsViewCommandEventArgs.cs
- SqlMethods.cs
- Rotation3DAnimation.cs
- TargetControlTypeCache.cs
- TreeViewCancelEvent.cs
- DotAtomReader.cs
- SecurityException.cs
- ColorMap.cs
- ComponentEvent.cs
- SelectorAutomationPeer.cs
- PropertyGeneratedEventArgs.cs
- TraceHandlerErrorFormatter.cs
- RegularExpressionValidator.cs
- XmlCharacterData.cs
- LambdaValue.cs
- FormViewPagerRow.cs
- Nodes.cs
- AmbientValueAttribute.cs
- SafePointer.cs
- TimelineGroup.cs
- XPathDocumentIterator.cs
- PointLightBase.cs
- HttpHostedTransportConfiguration.cs
- TemplateControlCodeDomTreeGenerator.cs
- util.cs
- hebrewshape.cs
- StylusSystemGestureEventArgs.cs
- Win32.cs
- Win32Interop.cs
- WarningException.cs
- SafeNativeMethodsCLR.cs
- Misc.cs
- PrivilegedConfigurationManager.cs
- XPathScanner.cs
- WebContext.cs
- HttpModuleActionCollection.cs
- BitmapSizeOptions.cs
- Expression.cs
- HttpProfileGroupBase.cs
- ScaleTransform3D.cs
- SweepDirectionValidation.cs
- SessionPageStatePersister.cs
- DeflateEmulationStream.cs
- MarkerProperties.cs
- IndexedEnumerable.cs
- Table.cs
- FrameworkElement.cs
- DPAPIProtectedConfigurationProvider.cs
- COM2FontConverter.cs
- NameValueCollection.cs
- Substitution.cs
- WebColorConverter.cs
- CellQuery.cs