Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- RectValueSerializer.cs
- ServiceOperationInfoTypeConverter.cs
- FunctionCommandText.cs
- DataGridLength.cs
- messageonlyhwndwrapper.cs
- ToolBarButtonClickEvent.cs
- ActiveXContainer.cs
- RadioButtonRenderer.cs
- SQLInt32Storage.cs
- ConfigurationStrings.cs
- ModelItem.cs
- XmlEntity.cs
- SettingsPropertyCollection.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Aggregates.cs
- TableItemStyle.cs
- CanonicalizationDriver.cs
- QueryOutputWriterV1.cs
- IPAddress.cs
- CodeDirectiveCollection.cs
- NetPeerTcpBindingCollectionElement.cs
- HMACSHA384.cs
- ShapingWorkspace.cs
- SimpleType.cs
- ViewStateException.cs
- InputBinder.cs
- PowerEase.cs
- MatrixTransform3D.cs
- ImportOptions.cs
- ForeignKeyConstraint.cs
- EncoderParameter.cs
- WrapperSecurityCommunicationObject.cs
- DBCommand.cs
- RowCache.cs
- WindowsRegion.cs
- Permission.cs
- Timer.cs
- TripleDESCryptoServiceProvider.cs
- BaseParaClient.cs
- DrawingAttributesDefaultValueFactory.cs
- SoapRpcServiceAttribute.cs
- DataGridItemEventArgs.cs
- GradientSpreadMethodValidation.cs
- BaseTemplateBuildProvider.cs
- IndexedDataBuffer.cs
- IndicCharClassifier.cs
- updatecommandorderer.cs
- FlowLayoutSettings.cs
- HtmlLink.cs
- CharEnumerator.cs
- ConstructorBuilder.cs
- OrderedDictionary.cs
- LocatorBase.cs
- EntityParameterCollection.cs
- UIntPtr.cs
- SQLDoubleStorage.cs
- FormCollection.cs
- Rules.cs
- WpfKnownTypeInvoker.cs
- AssertUtility.cs
- Storyboard.cs
- MaterialCollection.cs
- ActivityWithResultValueSerializer.cs
- NumericExpr.cs
- sqlcontext.cs
- HandleDictionary.cs
- CodeMemberField.cs
- DesignerTransaction.cs
- SqlDataSourceView.cs
- ZipIOCentralDirectoryBlock.cs
- CodeThrowExceptionStatement.cs
- ParameterToken.cs
- ToolboxBitmapAttribute.cs
- X500Name.cs
- ConfigurationManager.cs
- MessageCredentialType.cs
- XPathChildIterator.cs
- VisemeEventArgs.cs
- DbParameterCollectionHelper.cs
- hresults.cs
- COMException.cs
- RootBuilder.cs
- __Error.cs
- LayoutTable.cs
- PropertyChangingEventArgs.cs
- HtmlTableCellCollection.cs
- mediaclock.cs
- XmlValueConverter.cs
- _NestedSingleAsyncResult.cs
- XmlLinkedNode.cs
- XmlAutoDetectWriter.cs
- MembershipSection.cs
- OAVariantLib.cs
- ConnectivityStatus.cs
- IgnoreFileBuildProvider.cs
- Math.cs
- DataGridAutoFormat.cs
- MissingFieldException.cs
- AssemblyName.cs
- JsonEncodingStreamWrapper.cs