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
- UnsafeNativeMethods.cs
- QuaternionValueSerializer.cs
- GridView.cs
- BindingsCollection.cs
- TraceHandler.cs
- DesigntimeLicenseContext.cs
- DbTypeMap.cs
- JoinElimination.cs
- IntSecurity.cs
- TrustManagerMoreInformation.cs
- CustomCredentialPolicy.cs
- DataBoundLiteralControl.cs
- SeverityFilter.cs
- OracleTransaction.cs
- SystemFonts.cs
- IsolatedStoragePermission.cs
- CounterCreationDataConverter.cs
- ComponentDispatcherThread.cs
- Empty.cs
- DesignerCommandSet.cs
- regiisutil.cs
- ParameterEditorUserControl.cs
- ServerValidateEventArgs.cs
- documentsequencetextpointer.cs
- UnsafeNativeMethodsPenimc.cs
- MemoryFailPoint.cs
- TreeView.cs
- RemotingServices.cs
- TimeoutException.cs
- IndentedWriter.cs
- ByteAnimation.cs
- DrawItemEvent.cs
- TransactionScopeDesigner.cs
- PolyQuadraticBezierSegment.cs
- AppearanceEditorPart.cs
- DataBindingExpressionBuilder.cs
- WebUtil.cs
- UIElement3DAutomationPeer.cs
- SafeReversePInvokeHandle.cs
- OrthographicCamera.cs
- CharConverter.cs
- ListCollectionView.cs
- AuditLevel.cs
- SignatureToken.cs
- TemplatePropertyEntry.cs
- WindowsFormsLinkLabel.cs
- AsyncContentLoadedEventArgs.cs
- AttributeCollection.cs
- CodeTypeOfExpression.cs
- SchemaElementDecl.cs
- EventLogger.cs
- ScrollProperties.cs
- Converter.cs
- MultipartContentParser.cs
- HttpListenerPrefixCollection.cs
- EmptyImpersonationContext.cs
- DoubleLinkListEnumerator.cs
- DoubleAnimationClockResource.cs
- AsynchronousChannelMergeEnumerator.cs
- PieceNameHelper.cs
- QueryGenerator.cs
- DataBinder.cs
- IsolatedStorageFileStream.cs
- BitmapEffectState.cs
- OuterGlowBitmapEffect.cs
- RSAOAEPKeyExchangeDeformatter.cs
- CodeAttributeDeclarationCollection.cs
- CheckBox.cs
- coordinatorscratchpad.cs
- PaperSize.cs
- AmbientProperties.cs
- MemberInitExpression.cs
- TabletDeviceInfo.cs
- ImmutableDispatchRuntime.cs
- DurableErrorHandler.cs
- TripleDES.cs
- CharStorage.cs
- Panel.cs
- WindowsRegion.cs
- DocumentViewerHelper.cs
- DeviceSpecific.cs
- EtwProvider.cs
- XmlBindingWorker.cs
- RegexFCD.cs
- OneToOneMappingSerializer.cs
- DataTablePropertyDescriptor.cs
- OdbcException.cs
- PackWebRequestFactory.cs
- WebControlAdapter.cs
- ContainerParagraph.cs
- CategoriesDocument.cs
- ValidatedMobileControlConverter.cs
- SqlMetaData.cs
- DataQuery.cs
- WinCategoryAttribute.cs
- SocketException.cs
- KeyTime.cs
- TextFormatterContext.cs
- LocationSectionRecord.cs
- linebase.cs