Code:
/ DotNET / DotNET / 8.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
- WpfPayload.cs
- TimeStampChecker.cs
- StickyNoteAnnotations.cs
- EdgeProfileValidation.cs
- CellConstantDomain.cs
- CustomErrorsSection.cs
- parserscommon.cs
- InputLangChangeRequestEvent.cs
- SimpleApplicationHost.cs
- WinInet.cs
- MetadataItem.cs
- CfgRule.cs
- ProcessModule.cs
- ComponentEditorPage.cs
- ConsoleKeyInfo.cs
- BinaryQueryOperator.cs
- SimpleModelProvider.cs
- UIntPtr.cs
- AnnotationAuthorChangedEventArgs.cs
- DataListItemCollection.cs
- PropertyIDSet.cs
- CustomAttribute.cs
- Semaphore.cs
- Condition.cs
- DataGridViewCellStyleChangedEventArgs.cs
- CharacterHit.cs
- BitmapPalettes.cs
- MediaContextNotificationWindow.cs
- ObjectHelper.cs
- WebPartCancelEventArgs.cs
- ContextCorrelationInitializer.cs
- RIPEMD160.cs
- XmlDataProvider.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- IssuerInformation.cs
- DataSourceCollectionBase.cs
- MimeTypeAttribute.cs
- OleDbMetaDataFactory.cs
- RenderCapability.cs
- ToolStripDropDown.cs
- MediaContext.cs
- SBCSCodePageEncoding.cs
- X509Certificate.cs
- HttpListenerContext.cs
- DataServiceExpressionVisitor.cs
- MatrixConverter.cs
- AddInServer.cs
- DataGridViewCellStateChangedEventArgs.cs
- BackStopAuthenticationModule.cs
- EmbossBitmapEffect.cs
- WindowsListViewItem.cs
- RadioButtonFlatAdapter.cs
- OleDbDataAdapter.cs
- ModelPerspective.cs
- ScrollChrome.cs
- XmlSignificantWhitespace.cs
- EventArgs.cs
- GridViewCommandEventArgs.cs
- KeyTime.cs
- DataGridViewComboBoxCell.cs
- DropDownList.cs
- LinkLabelLinkClickedEvent.cs
- Control.cs
- EntityDataSourceContainerNameItem.cs
- DesignerLabelAdapter.cs
- DocumentPaginator.cs
- Screen.cs
- UrlPropertyAttribute.cs
- _CookieModule.cs
- EnumCodeDomSerializer.cs
- XmlSchemaSimpleType.cs
- StretchValidation.cs
- ContextMenuStripGroup.cs
- TextRange.cs
- ObjectStateEntry.cs
- HttpFileCollectionWrapper.cs
- CharUnicodeInfo.cs
- ImportOptions.cs
- RunClient.cs
- ProviderBase.cs
- ImageSourceConverter.cs
- DoubleAnimationUsingKeyFrames.cs
- ConfigurationElement.cs
- WindowsScrollBarBits.cs
- SelectionProviderWrapper.cs
- DES.cs
- CompiledXpathExpr.cs
- TrustManagerMoreInformation.cs
- ProcessThreadDesigner.cs
- RC2CryptoServiceProvider.cs
- ResourceManager.cs
- DesignerImageAdapter.cs
- LinearKeyFrames.cs
- ScrollViewerAutomationPeer.cs
- ObfuscationAttribute.cs
- Terminate.cs
- TimeStampChecker.cs
- DispatchChannelSink.cs
- SamlEvidence.cs
- LinearGradientBrush.cs