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
- Range.cs
- TransactionContextManager.cs
- TextProperties.cs
- FormatVersion.cs
- ObjectDataSourceStatusEventArgs.cs
- Path.cs
- OleDbParameterCollection.cs
- ContentType.cs
- CellTreeSimplifier.cs
- BaseCodeDomTreeGenerator.cs
- Thread.cs
- MessageBox.cs
- Metafile.cs
- ExternalException.cs
- DataGridCaption.cs
- Funcletizer.cs
- EntitySet.cs
- PtsPage.cs
- XmlSchemaSimpleTypeList.cs
- Typography.cs
- TextLine.cs
- AnnotationResourceCollection.cs
- ApplicationServiceHelper.cs
- BitVector32.cs
- DataContractSet.cs
- ScriptingWebServicesSectionGroup.cs
- EventlogProvider.cs
- SimpleRecyclingCache.cs
- XmlSchemaCollection.cs
- ColumnCollection.cs
- ClientFormsIdentity.cs
- ImageConverter.cs
- HtmlInputButton.cs
- PixelShader.cs
- BmpBitmapEncoder.cs
- ModuleBuilderData.cs
- HtmlHistory.cs
- ClientApiGenerator.cs
- Stroke.cs
- _KerberosClient.cs
- FlowNode.cs
- HandlerBase.cs
- GridLength.cs
- PasswordPropertyTextAttribute.cs
- ContentControl.cs
- EntityClassGenerator.cs
- StickyNoteHelper.cs
- GroupItem.cs
- AssemblyBuilder.cs
- MatrixUtil.cs
- AsymmetricKeyExchangeFormatter.cs
- CommonRemoteMemoryBlock.cs
- codemethodreferenceexpression.cs
- PasswordTextContainer.cs
- ISSmlParser.cs
- InputLangChangeEvent.cs
- DiscardableAttribute.cs
- Predicate.cs
- Identity.cs
- ServerType.cs
- PackageDigitalSignatureManager.cs
- SqlGenericUtil.cs
- XhtmlStyleClass.cs
- Preprocessor.cs
- PropertyKey.cs
- TreeViewItem.cs
- DataServiceRequestException.cs
- UIntPtr.cs
- DragStartedEventArgs.cs
- RemoteHelper.cs
- PtsPage.cs
- DataView.cs
- SimpleMailWebEventProvider.cs
- XamlParser.cs
- RectangleGeometry.cs
- CurrencyWrapper.cs
- IdentitySection.cs
- ProfileParameter.cs
- CodeObjectCreateExpression.cs
- SimpleType.cs
- SqlConnectionPoolProviderInfo.cs
- XPathException.cs
- PermissionSetTriple.cs
- ActivityExecutorOperation.cs
- MarkupObject.cs
- FixedDocumentPaginator.cs
- DataGridViewSelectedColumnCollection.cs
- mda.cs
- Selector.cs
- CmsInterop.cs
- PointAnimationBase.cs
- DbExpressionVisitor.cs
- CurrentChangedEventManager.cs
- Vector3DAnimation.cs
- ObjectAnimationUsingKeyFrames.cs
- Win32SafeHandles.cs
- ConnectionPoolRegistry.cs
- IUnknownConstantAttribute.cs
- DataGridRelationshipRow.cs
- GridViewRow.cs