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
- SmtpReplyReader.cs
- NativeBuffer.cs
- recordstatefactory.cs
- SelectManyQueryOperator.cs
- TypeDescriptionProvider.cs
- PriorityQueue.cs
- StringFreezingAttribute.cs
- recordstatescratchpad.cs
- SqlUserDefinedAggregateAttribute.cs
- IsolatedStorageFileStream.cs
- NativeMethods.cs
- QilLoop.cs
- DbProviderSpecificTypePropertyAttribute.cs
- Exceptions.cs
- XPathArrayIterator.cs
- XmlDataImplementation.cs
- ComponentManagerBroker.cs
- ModelItemImpl.cs
- AudioLevelUpdatedEventArgs.cs
- AtomContentProperty.cs
- TextSegment.cs
- CreateUserErrorEventArgs.cs
- WebPartDesigner.cs
- ExternalException.cs
- httpserverutility.cs
- CodeGeneratorOptions.cs
- PassportAuthenticationEventArgs.cs
- DynamicEndpointElement.cs
- SafeNativeMethods.cs
- QilScopedVisitor.cs
- DataGridBoolColumn.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ReceiveMessageContent.cs
- ChameleonKey.cs
- AnnotationResourceCollection.cs
- ContentPlaceHolder.cs
- DefaultWorkflowSchedulerService.cs
- EmptyStringExpandableObjectConverter.cs
- ElementHostAutomationPeer.cs
- ScriptingWebServicesSectionGroup.cs
- ConsoleKeyInfo.cs
- DataKeyCollection.cs
- MachineKeySection.cs
- DynamicValueConverter.cs
- DeviceContext2.cs
- CheckBoxAutomationPeer.cs
- ToolboxDataAttribute.cs
- Panel.cs
- CaseInsensitiveComparer.cs
- unitconverter.cs
- SizeFConverter.cs
- TransactionManager.cs
- XmlComplianceUtil.cs
- EmptyEnumerator.cs
- DefaultMemberAttribute.cs
- ToolStripSettings.cs
- MessageBox.cs
- TextureBrush.cs
- WebPartDisplayModeEventArgs.cs
- SchemaObjectWriter.cs
- WorkflowCompensationBehavior.cs
- HWStack.cs
- PeerToPeerException.cs
- ListView.cs
- DispatchChannelSink.cs
- DBDataPermission.cs
- StringExpressionSet.cs
- Timer.cs
- ToolStripLocationCancelEventArgs.cs
- FileUtil.cs
- SystemInformation.cs
- InvokeBinder.cs
- TimelineClockCollection.cs
- AttributeAction.cs
- IssuanceLicense.cs
- TryCatchDesigner.xaml.cs
- Random.cs
- DeclarativeCatalogPart.cs
- TreeViewImageKeyConverter.cs
- CachingHintValidation.cs
- RefreshEventArgs.cs
- HTTPNotFoundHandler.cs
- SqlSelectClauseBuilder.cs
- TransformerTypeCollection.cs
- FaultPropagationRecord.cs
- EndOfStreamException.cs
- MouseEventArgs.cs
- X509CertificateInitiatorClientCredential.cs
- GenerateTemporaryTargetAssembly.cs
- NamespaceDecl.cs
- Code.cs
- GradientStop.cs
- PagedDataSource.cs
- WebPartMenuStyle.cs
- PropertyGridCommands.cs
- BoundsDrawingContextWalker.cs
- ValidatorCollection.cs
- ContextProperty.cs
- ContentElementAutomationPeer.cs
- Mapping.cs