Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ButtonAutomationPeer.cs
- ObjectParameter.cs
- Base64WriteStateInfo.cs
- ConstructorBuilder.cs
- NotImplementedException.cs
- ListItemCollection.cs
- ParserContext.cs
- SplitterPanel.cs
- ColorTranslator.cs
- TargetControlTypeCache.cs
- SspiSecurityToken.cs
- HMACRIPEMD160.cs
- OleDbException.cs
- RegexCode.cs
- StringKeyFrameCollection.cs
- ZipIOLocalFileHeader.cs
- Visual.cs
- StrokeRenderer.cs
- SpeechDetectedEventArgs.cs
- HttpFileCollectionBase.cs
- TextTreeRootNode.cs
- MenuEventArgs.cs
- processwaithandle.cs
- Point4DValueSerializer.cs
- COAUTHINFO.cs
- RectAnimation.cs
- SqlDataSourceCache.cs
- SchemaNotation.cs
- CannotUnloadAppDomainException.cs
- WebPartDisplayModeEventArgs.cs
- AnnotationAdorner.cs
- SizeConverter.cs
- FamilyCollection.cs
- IArgumentProvider.cs
- ThrowHelper.cs
- invalidudtexception.cs
- Utility.cs
- DataReceivedEventArgs.cs
- XPathSingletonIterator.cs
- DataGridItemEventArgs.cs
- ToolStripSystemRenderer.cs
- XmlMemberMapping.cs
- StrongNameIdentityPermission.cs
- HttpModuleCollection.cs
- Wizard.cs
- HtmlMeta.cs
- QilXmlReader.cs
- XNodeNavigator.cs
- XPathItem.cs
- Point3DCollection.cs
- ProtocolsConfiguration.cs
- SystemDropShadowChrome.cs
- PerfService.cs
- QueryOutputWriter.cs
- Literal.cs
- ObjectItemCachedAssemblyLoader.cs
- coordinator.cs
- WindowsFormsHostAutomationPeer.cs
- ProcessHostConfigUtils.cs
- SocketCache.cs
- RelatedCurrencyManager.cs
- IndependentAnimationStorage.cs
- ListCollectionView.cs
- DataControlReferenceCollection.cs
- ObjectDataSourceEventArgs.cs
- SqlConnection.cs
- InheritanceService.cs
- ContractMapping.cs
- NumericExpr.cs
- SerializationInfoEnumerator.cs
- DataBindingCollectionConverter.cs
- GPPOINT.cs
- ServicePointManager.cs
- wgx_render.cs
- BamlTreeNode.cs
- errorpatternmatcher.cs
- AttributeProviderAttribute.cs
- XmlSchemaFacet.cs
- ExpressionEditorAttribute.cs
- TdsParserSessionPool.cs
- ModelPropertyImpl.cs
- IsolatedStorageFile.cs
- ExtendedPropertyCollection.cs
- EntityException.cs
- Matrix3D.cs
- XmlLinkedNode.cs
- PlaceHolder.cs
- BindingExpressionBase.cs
- WSDualHttpBinding.cs
- DomainUpDown.cs
- Not.cs
- LocalFileSettingsProvider.cs
- VerificationAttribute.cs
- SystemMulticastIPAddressInformation.cs
- ClaimTypeElementCollection.cs
- Pkcs7Recipient.cs
- SBCSCodePageEncoding.cs
- RecipientInfo.cs
- DataBinder.cs
- Nullable.cs