Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / XPath / Internal / EmptyQuery.cs / 1305376 / 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. // //[....] //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlColumnizer.cs
- TextControl.cs
- EmptyElement.cs
- WhiteSpaceTrimStringConverter.cs
- PropertyPath.cs
- DescendantOverDescendantQuery.cs
- RoutedPropertyChangedEventArgs.cs
- FontFamily.cs
- FormViewInsertedEventArgs.cs
- RectIndependentAnimationStorage.cs
- PathTooLongException.cs
- FragmentQueryProcessor.cs
- Console.cs
- Logging.cs
- UpdatePanelTrigger.cs
- KeyNotFoundException.cs
- DataGridViewCellCancelEventArgs.cs
- WindowsSolidBrush.cs
- DesignerRegionMouseEventArgs.cs
- TypeContext.cs
- PropertyValue.cs
- ListControl.cs
- GeometryCollection.cs
- XmlNode.cs
- FontFamily.cs
- CategoryGridEntry.cs
- UpdatePanelTrigger.cs
- EditingCommands.cs
- LogConverter.cs
- DocumentManager.cs
- HostedHttpTransportManager.cs
- GlyphShapingProperties.cs
- versioninfo.cs
- SecuritySessionSecurityTokenProvider.cs
- ConfigXmlText.cs
- ParseElement.cs
- PrimarySelectionAdorner.cs
- AutomationFocusChangedEventArgs.cs
- ScriptingScriptResourceHandlerSection.cs
- Encoder.cs
- ChangePassword.cs
- RubberbandSelector.cs
- XmlBufferReader.cs
- TdsParser.cs
- XmlSchemaGroupRef.cs
- HttpCapabilitiesEvaluator.cs
- HideDisabledControlAdapter.cs
- AuthenticationConfig.cs
- X509Chain.cs
- ModuleConfigurationInfo.cs
- WinFormsComponentEditor.cs
- lengthconverter.cs
- TableLayoutCellPaintEventArgs.cs
- StrongNameMembershipCondition.cs
- ProfileGroupSettings.cs
- TransformGroup.cs
- basenumberconverter.cs
- FileSystemWatcher.cs
- DoubleAnimationUsingPath.cs
- BasicViewGenerator.cs
- TemplateControlParser.cs
- XmlRawWriter.cs
- NameValueCollection.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- CSharpCodeProvider.cs
- Events.cs
- CaseStatementSlot.cs
- TextTrailingCharacterEllipsis.cs
- XpsDigitalSignature.cs
- DynamicQueryableWrapper.cs
- MailAddressCollection.cs
- CodeIndexerExpression.cs
- _SSPISessionCache.cs
- _DisconnectOverlappedAsyncResult.cs
- EngineSite.cs
- linebase.cs
- MimePart.cs
- sortedlist.cs
- HideDisabledControlAdapter.cs
- DefaultExpression.cs
- MethodAccessException.cs
- SqlRowUpdatedEvent.cs
- PromptBuilder.cs
- TimeSpanOrInfiniteValidator.cs
- CommandID.cs
- FastEncoder.cs
- AppearanceEditorPart.cs
- XmlSchemaAnnotation.cs
- TypeSchema.cs
- TrackBar.cs
- PathSegmentCollection.cs
- BufferBuilder.cs
- RemotingAttributes.cs
- OrderPreservingPipeliningSpoolingTask.cs
- ConfigurationSectionGroup.cs
- DefaultHttpHandler.cs
- ToolStripProgressBar.cs
- TextElementEnumerator.cs
- ReflectionServiceProvider.cs
- complextypematerializer.cs