Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / XPath / Internal / OperandQuery.cs / 1 / OperandQuery.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.Collections; internal sealed class OperandQuery : ValueQuery { internal object val; public OperandQuery(object val) { this.val = val; } public override object Evaluate(XPathNodeIterator nodeIterator) { return val; } public override XPathResultType StaticType { get { return GetXPathType(val); } } public override XPathNodeIterator Clone() { return this; } public override void PrintQuery(XmlWriter w) { w.WriteStartElement(this.GetType().Name); w.WriteAttributeString("value", val.ToString()); w.WriteEndElement(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegistryPermission.cs
- RTLAwareMessageBox.cs
- SettingsProviderCollection.cs
- PersonalizationProviderHelper.cs
- RawUIStateInputReport.cs
- SqlRowUpdatingEvent.cs
- MaskedTextProvider.cs
- ParallelQuery.cs
- BrowserPolicyValidator.cs
- UDPClient.cs
- Function.cs
- ArrayTypeMismatchException.cs
- SafeRightsManagementPubHandle.cs
- SafeRightsManagementQueryHandle.cs
- AppDomainUnloadedException.cs
- PropertyToken.cs
- Mapping.cs
- DrawingContextWalker.cs
- WebBrowserProgressChangedEventHandler.cs
- PointIndependentAnimationStorage.cs
- DockAndAnchorLayout.cs
- XmlSchemaNotation.cs
- XamlTypeWithExplicitNamespace.cs
- ProgressPage.cs
- PcmConverter.cs
- CommandLibraryHelper.cs
- PropertySet.cs
- CryptographicAttribute.cs
- SafeRightsManagementEnvironmentHandle.cs
- UnmanagedHandle.cs
- _NativeSSPI.cs
- CorrelationManager.cs
- XsltLibrary.cs
- InputLanguage.cs
- ProjectionPruner.cs
- TargetPerspective.cs
- SafeSecurityHandles.cs
- OracleCommand.cs
- AudioFileOut.cs
- XmlSchemaInclude.cs
- DesignerCommandAdapter.cs
- WindowsEditBox.cs
- GenericWebPart.cs
- TrackingProfile.cs
- AccessText.cs
- RealizationContext.cs
- Propagator.JoinPropagator.cs
- SqlGatherProducedAliases.cs
- LambdaCompiler.Binary.cs
- CursorInteropHelper.cs
- ResourceCollectionInfo.cs
- PolygonHotSpot.cs
- XamlFrame.cs
- XPathDocument.cs
- ExpressionCopier.cs
- PathFigureCollection.cs
- WebPartZoneCollection.cs
- Buffer.cs
- ScriptResourceDefinition.cs
- MaskedTextProvider.cs
- TopClause.cs
- ManagementObjectSearcher.cs
- DataTableExtensions.cs
- QueryAsyncResult.cs
- WindowsTab.cs
- WorkflowViewService.cs
- ProcessHostMapPath.cs
- ColorConvertedBitmap.cs
- StringUtil.cs
- UpdateTranslator.cs
- CssStyleCollection.cs
- DecoderFallbackWithFailureFlag.cs
- PageRanges.cs
- DataGridViewHitTestInfo.cs
- Mutex.cs
- SelectionGlyph.cs
- FixedSOMImage.cs
- ErrorRuntimeConfig.cs
- FormViewPageEventArgs.cs
- SiteMapDataSource.cs
- ObjectSecurity.cs
- LambdaSerializationException.cs
- StructureChangedEventArgs.cs
- HtmlInputHidden.cs
- TextClipboardData.cs
- PaintEvent.cs
- HandleRef.cs
- LoadGrammarCompletedEventArgs.cs
- AnimationTimeline.cs
- AtomEntry.cs
- VScrollProperties.cs
- SqlGatherProducedAliases.cs
- ComAwareEventInfo.cs
- TextPointer.cs
- CellCreator.cs
- XmlNodeChangedEventArgs.cs
- RequestQueryParser.cs
- InlineObject.cs
- TemplateColumn.cs
- ObjectContext.cs