Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / XPath / Internal / OperandQuery.cs / 1305376 / 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", Convert.ToString(val, CultureInfo.InvariantCulture)); w.WriteEndElement(); } } } // 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
- CompositeDuplexBindingElement.cs
- RC2CryptoServiceProvider.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- URLString.cs
- SchemaImporterExtensionsSection.cs
- DataGridViewColumnEventArgs.cs
- Compiler.cs
- LayoutExceptionEventArgs.cs
- ProjectionCamera.cs
- CompiledXpathExpr.cs
- DesignerVerbCollection.cs
- DESCryptoServiceProvider.cs
- RenderContext.cs
- CatalogPartChrome.cs
- _NTAuthentication.cs
- IApplicationTrustManager.cs
- BitmapSourceSafeMILHandle.cs
- ProcessModule.cs
- GPPOINT.cs
- MasterPageCodeDomTreeGenerator.cs
- DbXmlEnabledProviderManifest.cs
- TextBoxBase.cs
- ProtocolsSection.cs
- FormatterConverter.cs
- RelationshipConverter.cs
- PointAnimationUsingPath.cs
- ResourceReferenceKeyNotFoundException.cs
- RefreshPropertiesAttribute.cs
- DateTimeParse.cs
- ReferenceService.cs
- Tablet.cs
- HandledEventArgs.cs
- DataGridViewCellFormattingEventArgs.cs
- HostedTransportConfigurationBase.cs
- WebBrowserBase.cs
- RootBrowserWindowAutomationPeer.cs
- AudioDeviceOut.cs
- DynamicDataManager.cs
- KeyInterop.cs
- MD5CryptoServiceProvider.cs
- StateMachineWorkflowDesigner.cs
- AppDomainProtocolHandler.cs
- ToolStripPanelSelectionGlyph.cs
- ObjectContextServiceProvider.cs
- DataGridAutoFormatDialog.cs
- WindowsSpinner.cs
- QuadraticBezierSegment.cs
- SqlConnection.cs
- ColumnResult.cs
- InvalidWMPVersionException.cs
- HeaderedContentControl.cs
- MimeMultiPart.cs
- AnnotationHighlightLayer.cs
- OpenFileDialog.cs
- WindowsFormsSectionHandler.cs
- ForEach.cs
- LambdaCompiler.Statements.cs
- MergePropertyDescriptor.cs
- ProcessThreadCollection.cs
- ListViewSortEventArgs.cs
- DataBoundControlActionList.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- OperatingSystemVersionCheck.cs
- VisualStyleTypesAndProperties.cs
- HttpStreamMessageEncoderFactory.cs
- ExceptionUtil.cs
- mediapermission.cs
- XmlSchemaSimpleTypeRestriction.cs
- XmlSchemaAttributeGroup.cs
- Signature.cs
- DataGridColumn.cs
- _CacheStreams.cs
- VisualStyleInformation.cs
- SecurityToken.cs
- CallContext.cs
- PermissionSetTriple.cs
- ComPlusServiceLoader.cs
- ReflectionTypeLoadException.cs
- SchemaElementLookUpTableEnumerator.cs
- FormViewUpdatedEventArgs.cs
- KeySpline.cs
- ProfileBuildProvider.cs
- SurrogateSelector.cs
- TabPage.cs
- ContractCodeDomInfo.cs
- ParameterBinding.cs
- XPathScanner.cs
- CacheRequest.cs
- ToolStripEditorManager.cs
- WebConvert.cs
- M3DUtil.cs
- ProtocolsSection.cs
- ToggleProviderWrapper.cs
- MetaColumn.cs
- NativeRecognizer.cs
- PeerMessageDispatcher.cs
- XmlWhitespace.cs
- Vector3DKeyFrameCollection.cs
- FontStyleConverter.cs
- FlowPanelDesigner.cs