Code:
/ FX-1434 / FX-1434 / 1.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
- webbrowsersite.cs
- SourceExpressionException.cs
- ICollection.cs
- ThreadStartException.cs
- ButtonChrome.cs
- StaticFileHandler.cs
- UriTemplateLiteralPathSegment.cs
- ProjectedSlot.cs
- EmptyReadOnlyDictionaryInternal.cs
- StatusBarAutomationPeer.cs
- ApplicationException.cs
- Win32PrintDialog.cs
- Pair.cs
- RunClient.cs
- EdmMember.cs
- MorphHelper.cs
- FamilyTypeface.cs
- LocalIdKeyIdentifierClause.cs
- ResourceReferenceExpressionConverter.cs
- XmlDigitalSignatureProcessor.cs
- XmlComment.cs
- FixedPage.cs
- FilterElement.cs
- Clock.cs
- DataViewManager.cs
- FileChangesMonitor.cs
- XmlMtomWriter.cs
- EntityDataSourceColumn.cs
- UnsafeNativeMethods.cs
- ToolStripPanelSelectionBehavior.cs
- RijndaelManaged.cs
- KeyboardNavigation.cs
- ValidationSummary.cs
- Transform3D.cs
- util.cs
- SHA1.cs
- DeferredRunTextReference.cs
- PolicyLevel.cs
- IdentityHolder.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- PreviewPageInfo.cs
- AssemblyBuilder.cs
- WebPartVerb.cs
- StatusBarPanelClickEvent.cs
- COM2ExtendedTypeConverter.cs
- DBSqlParserColumn.cs
- Literal.cs
- SessionParameter.cs
- ObjectQuery.cs
- WebPartVerb.cs
- SiteMapDesignerDataSourceView.cs
- PrefixHandle.cs
- ResolveCompletedEventArgs.cs
- xmlformatgeneratorstatics.cs
- SoapAttributes.cs
- StackSpiller.Bindings.cs
- PopupEventArgs.cs
- ConfigXmlComment.cs
- SafeNativeMethodsOther.cs
- EventQueueState.cs
- _emptywebproxy.cs
- MessageQueueEnumerator.cs
- StandardCommands.cs
- pingexception.cs
- UnsafeNetInfoNativeMethods.cs
- CustomAttributeSerializer.cs
- CancellationScope.cs
- WhitespaceRuleLookup.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- RoleManagerModule.cs
- RegistrationServices.cs
- JpegBitmapDecoder.cs
- Privilege.cs
- ServiceObjectContainer.cs
- RoutedEventConverter.cs
- HasCopySemanticsAttribute.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- DataGridViewCellMouseEventArgs.cs
- HttpWrapper.cs
- ResumeStoryboard.cs
- CodeComment.cs
- DoubleConverter.cs
- PrintPreviewGraphics.cs
- MimeBasePart.cs
- EdmType.cs
- EventData.cs
- EncryptedPackage.cs
- RegistryKey.cs
- ListViewDataItem.cs
- EnvironmentPermission.cs
- DefaultHttpHandler.cs
- Matrix3DStack.cs
- VerificationAttribute.cs
- FileRecordSequence.cs
- BitmapEffectInputData.cs
- OrderingExpression.cs
- NamedPipeAppDomainProtocolHandler.cs
- CodeTypeOfExpression.cs
- FixedSOMTableCell.cs
- ObjectDataSourceEventArgs.cs