Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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
- ReferencedAssembly.cs
- DocumentationServerProtocol.cs
- ClientTargetCollection.cs
- XmlDocumentViewSchema.cs
- ContextMenuService.cs
- ListBoxDesigner.cs
- MetadataCacheItem.cs
- Error.cs
- HwndStylusInputProvider.cs
- CheckBox.cs
- XsltInput.cs
- Buffer.cs
- Bitmap.cs
- SmiMetaData.cs
- CallInfo.cs
- TransformPattern.cs
- CodeSubDirectory.cs
- RightsManagementEncryptionTransform.cs
- MessageHeaderAttribute.cs
- Splitter.cs
- TemplateBuilder.cs
- DesignerForm.cs
- Int16Converter.cs
- ProcessDesigner.cs
- ActivationArguments.cs
- OverflowException.cs
- DataKeyCollection.cs
- FormViewUpdatedEventArgs.cs
- InvalidOleVariantTypeException.cs
- CommonGetThemePartSize.cs
- LogWriteRestartAreaAsyncResult.cs
- ScriptManager.cs
- InputBindingCollection.cs
- ControlAdapter.cs
- RadioButtonRenderer.cs
- ColorConvertedBitmap.cs
- EdmComplexTypeAttribute.cs
- SingleAnimationUsingKeyFrames.cs
- Event.cs
- NameHandler.cs
- TreeNodeStyle.cs
- ImageListStreamer.cs
- httpserverutility.cs
- DynamicPropertyReader.cs
- ResourceReferenceExpressionConverter.cs
- PeerCollaborationPermission.cs
- RuleConditionDialog.Designer.cs
- Merger.cs
- TraceListeners.cs
- UriTemplateMatchException.cs
- CultureMapper.cs
- TextReader.cs
- CodeParameterDeclarationExpressionCollection.cs
- EventlogProvider.cs
- ConfigXmlWhitespace.cs
- StringKeyFrameCollection.cs
- ToggleProviderWrapper.cs
- TextParagraphProperties.cs
- Container.cs
- ListControlBuilder.cs
- LogExtent.cs
- LateBoundBitmapDecoder.cs
- AmbientValueAttribute.cs
- ComplexPropertyEntry.cs
- MergablePropertyAttribute.cs
- formatter.cs
- PowerModeChangedEventArgs.cs
- CaseInsensitiveComparer.cs
- ClientBuildManagerCallback.cs
- Lookup.cs
- ServiceObjectContainer.cs
- SmtpAuthenticationManager.cs
- CanExpandCollapseAllConverter.cs
- COAUTHIDENTITY.cs
- SafeFileMappingHandle.cs
- TextOnlyOutput.cs
- SoundPlayerAction.cs
- SafeNativeMethods.cs
- IncrementalReadDecoders.cs
- ConnectionStringsExpressionBuilder.cs
- TemplateInstanceAttribute.cs
- HitTestParameters3D.cs
- WindowsListViewItemCheckBox.cs
- OleAutBinder.cs
- Activity.cs
- WmlLiteralTextAdapter.cs
- BehaviorEditorPart.cs
- AssemblyAssociatedContentFileAttribute.cs
- TripleDES.cs
- SqlRecordBuffer.cs
- HttpApplicationFactory.cs
- ModuleBuilderData.cs
- SqlDelegatedTransaction.cs
- SpeakInfo.cs
- TabPanel.cs
- SystemColorTracker.cs
- HttpClientCertificate.cs
- ServicePointManager.cs
- HitTestFilterBehavior.cs
- PageSetupDialog.cs