Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ResourceManager.cs
- PageHandlerFactory.cs
- PopupControlService.cs
- ApplicationServicesHostFactory.cs
- ArgumentOutOfRangeException.cs
- InputEventArgs.cs
- ObjectHandle.cs
- HtmlEmptyTagControlBuilder.cs
- AnnotationComponentManager.cs
- ToolStripAdornerWindowService.cs
- RuntimeHelpers.cs
- URLBuilder.cs
- Parameter.cs
- DBConnection.cs
- Axis.cs
- DBSchemaRow.cs
- COM2PropertyBuilderUITypeEditor.cs
- SettingsPropertyIsReadOnlyException.cs
- ReadOnlyActivityGlyph.cs
- PropertySourceInfo.cs
- MsmqTransportBindingElement.cs
- Blend.cs
- SmtpException.cs
- InvalidateEvent.cs
- KnownTypeAttribute.cs
- SafeHandle.cs
- SchemaTypeEmitter.cs
- FixedSOMElement.cs
- Pen.cs
- SetterBaseCollection.cs
- ErrorFormatterPage.cs
- RequestBringIntoViewEventArgs.cs
- FileSecurity.cs
- OdbcStatementHandle.cs
- _Connection.cs
- FlowDocumentPage.cs
- EntityContainerEntitySet.cs
- Mappings.cs
- documentsequencetextpointer.cs
- Cursors.cs
- TextEditorTables.cs
- StandardOleMarshalObject.cs
- DataGridViewTopRowAccessibleObject.cs
- EastAsianLunisolarCalendar.cs
- MatcherBuilder.cs
- WebPartDesigner.cs
- HierarchicalDataSourceControl.cs
- _ServiceNameStore.cs
- ListItemCollection.cs
- NamedPermissionSet.cs
- XpsViewerException.cs
- LinkedResourceCollection.cs
- PropertySourceInfo.cs
- EditCommandColumn.cs
- Cursor.cs
- PointLight.cs
- HttpStaticObjectsCollectionWrapper.cs
- _UriTypeConverter.cs
- FieldDescriptor.cs
- GlobalizationSection.cs
- EntitySetDataBindingList.cs
- DrawingBrush.cs
- FrameworkObject.cs
- ResponseBodyWriter.cs
- WinInetCache.cs
- EmptyControlCollection.cs
- IOException.cs
- CodeCatchClauseCollection.cs
- SessionStateItemCollection.cs
- WindowsFormsSynchronizationContext.cs
- ObjectConverter.cs
- InputProcessorProfilesLoader.cs
- recordstatescratchpad.cs
- ObjectQueryProvider.cs
- SqlProviderServices.cs
- QilGenerator.cs
- PrintPreviewGraphics.cs
- XmlReflectionMember.cs
- ParameterDataSourceExpression.cs
- SingleObjectCollection.cs
- BitmapEncoder.cs
- TempFiles.cs
- Storyboard.cs
- FileVersionInfo.cs
- EntityConnection.cs
- CurrencyManager.cs
- x509utils.cs
- PrintController.cs
- TraceHwndHost.cs
- TransactionScopeDesigner.cs
- Grant.cs
- RelatedView.cs
- PriorityItem.cs
- VersionPair.cs
- VisualStyleElement.cs
- InstanceData.cs
- FileChangesMonitor.cs
- SoapHelper.cs
- DataServiceExpressionVisitor.cs
- BackStopAuthenticationModule.cs