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
- Stack.cs
- Helpers.cs
- ListViewTableCell.cs
- RegexGroupCollection.cs
- FieldBuilder.cs
- NameObjectCollectionBase.cs
- MetadataPropertyCollection.cs
- TranslateTransform.cs
- BaseValidator.cs
- ProjectionCamera.cs
- Overlapped.cs
- TreeNodeCollectionEditor.cs
- UserPreferenceChangedEventArgs.cs
- ComponentDispatcherThread.cs
- SafeFileHandle.cs
- EdmScalarPropertyAttribute.cs
- Symbol.cs
- DataObject.cs
- OutputCacheSection.cs
- _emptywebproxy.cs
- WebReferencesBuildProvider.cs
- DataGridParentRows.cs
- EntityDataSourceContainerNameConverter.cs
- CacheRequest.cs
- PropertyMapper.cs
- StringAnimationBase.cs
- WindowsScrollBarBits.cs
- InputEventArgs.cs
- LabelLiteral.cs
- MarkupExtensionParser.cs
- safemediahandle.cs
- BaseCodeDomTreeGenerator.cs
- DrawListViewItemEventArgs.cs
- HMACRIPEMD160.cs
- DataComponentMethodGenerator.cs
- OdbcConnection.cs
- SafeThemeHandle.cs
- TemplateXamlParser.cs
- TrackingCondition.cs
- OletxTransactionHeader.cs
- TargetException.cs
- oledbmetadatacollectionnames.cs
- _OverlappedAsyncResult.cs
- safelinkcollection.cs
- ReachPageContentSerializer.cs
- SHA256Cng.cs
- RuntimeConfigurationRecord.cs
- DoubleUtil.cs
- Module.cs
- LinqDataSourceDeleteEventArgs.cs
- ObjectKeyFrameCollection.cs
- SettingsAttributes.cs
- WebPartEventArgs.cs
- FileDataSourceCache.cs
- Privilege.cs
- DbConnectionPoolIdentity.cs
- WorkflowDispatchContext.cs
- BufferedReadStream.cs
- Propagator.ExtentPlaceholderCreator.cs
- RegistryExceptionHelper.cs
- ClientSponsor.cs
- DesignerLinkAdapter.cs
- HtmlProps.cs
- MiniParameterInfo.cs
- UInt16.cs
- DataGridViewImageCell.cs
- FileIOPermission.cs
- MetadataArtifactLoader.cs
- SimpleTypesSurrogate.cs
- ExpandSegment.cs
- PropertyRef.cs
- ColumnClickEvent.cs
- BindingExpression.cs
- ProcessModelInfo.cs
- SendActivity.cs
- PresentationTraceSources.cs
- DecryptRequest.cs
- HeaderCollection.cs
- EventItfInfo.cs
- SafeProcessHandle.cs
- TreeNode.cs
- ColorTransformHelper.cs
- HttpListenerException.cs
- Serializer.cs
- MD5CryptoServiceProvider.cs
- BooleanFunctions.cs
- COM2FontConverter.cs
- CompiledXpathExpr.cs
- EncodingTable.cs
- ObjectStateEntry.cs
- GrammarBuilderDictation.cs
- NGCSerializerAsync.cs
- WebResponse.cs
- WindowsStatusBar.cs
- SplitterDesigner.cs
- tibetanshape.cs
- TimeManager.cs
- Padding.cs
- TransformProviderWrapper.cs
- ImageConverter.cs