Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //[....] //----------------------------------------------------------------------------- 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
- VariableQuery.cs
- ControlCachePolicy.cs
- CounterCreationData.cs
- TraceData.cs
- PropertyInformation.cs
- BitmapImage.cs
- ScriptingWebServicesSectionGroup.cs
- XmlCodeExporter.cs
- TrackingProfileSerializer.cs
- SoapUnknownHeader.cs
- Model3DGroup.cs
- ProcessHost.cs
- MessageQueueInstaller.cs
- EventLevel.cs
- TextPointer.cs
- Row.cs
- TripleDESCryptoServiceProvider.cs
- CellRelation.cs
- SharedPersonalizationStateInfo.cs
- QilUnary.cs
- TripleDES.cs
- StringDictionary.cs
- SystemIPv6InterfaceProperties.cs
- TextTreeObjectNode.cs
- FigureParaClient.cs
- diagnosticsswitches.cs
- SqlWriter.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DesignerForm.cs
- CodeAttributeArgument.cs
- ThreadAbortException.cs
- AppDomainShutdownMonitor.cs
- SQLInt64Storage.cs
- SoapMessage.cs
- TreeNode.cs
- ServicesUtilities.cs
- ToolStripDropDownMenu.cs
- TextServicesCompartmentContext.cs
- OuterGlowBitmapEffect.cs
- CommandHelper.cs
- ClusterSafeNativeMethods.cs
- ToolStripItem.cs
- RectangleHotSpot.cs
- FormClosingEvent.cs
- HtmlTextArea.cs
- ParagraphResult.cs
- ComponentConverter.cs
- Listbox.cs
- EventlogProvider.cs
- FixedDocumentPaginator.cs
- SecurityTokenRequirement.cs
- formatter.cs
- SizeChangedEventArgs.cs
- LinqDataSourceValidationException.cs
- ConfigurationValidatorAttribute.cs
- DrawingGroup.cs
- BaseConfigurationRecord.cs
- WorkflowMarkupSerializationProvider.cs
- TextModifierScope.cs
- PreviewKeyDownEventArgs.cs
- XmlTextReaderImplHelpers.cs
- ellipse.cs
- ParserHooks.cs
- LineSegment.cs
- ProcessInfo.cs
- Accessors.cs
- MenuItemBindingCollection.cs
- SymLanguageType.cs
- DropShadowEffect.cs
- VectorCollection.cs
- UniformGrid.cs
- ContentDisposition.cs
- RowToParametersTransformer.cs
- DataGridItemCollection.cs
- EntityParameter.cs
- TimeSpanValidator.cs
- ElementInit.cs
- WebServiceMethodData.cs
- SafeMarshalContext.cs
- ClientRolePrincipal.cs
- Model3D.cs
- EntityDataSourceChangedEventArgs.cs
- CodeSnippetExpression.cs
- FacetDescription.cs
- EnvelopedPkcs7.cs
- Grid.cs
- WebPartUtil.cs
- StaticFileHandler.cs
- IgnoreFileBuildProvider.cs
- ImageConverter.cs
- BinaryFormatterWriter.cs
- FixedPage.cs
- HttpListenerContext.cs
- StylusShape.cs
- ImmComposition.cs
- SoapEnumAttribute.cs
- ToolStripSeparatorRenderEventArgs.cs
- FormViewInsertedEventArgs.cs
- GenerateTemporaryTargetAssembly.cs
- Schedule.cs