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
- XmlSchemaValidationException.cs
- Zone.cs
- PageSetupDialog.cs
- HtmlUtf8RawTextWriter.cs
- EntityDataSourceWrapperCollection.cs
- BuildProvider.cs
- PointHitTestResult.cs
- XmlQueryContext.cs
- AnnotationComponentManager.cs
- XmlReflectionMember.cs
- TextUtf8RawTextWriter.cs
- COM2Enum.cs
- BufferedGraphicsManager.cs
- HostingEnvironmentException.cs
- LayoutSettings.cs
- DesignerUtility.cs
- RepeatButton.cs
- BuilderInfo.cs
- VarInfo.cs
- BitmapSource.cs
- compensatingcollection.cs
- FontDialog.cs
- Operators.cs
- FontSourceCollection.cs
- Message.cs
- PromptStyle.cs
- QuestionEventArgs.cs
- LineServicesCallbacks.cs
- ReadOnlyHierarchicalDataSource.cs
- XmlSchemaObjectCollection.cs
- regiisutil.cs
- XmlSchemaAnnotated.cs
- StrokeNodeData.cs
- PageParserFilter.cs
- SecureConversationSecurityTokenParameters.cs
- parserscommon.cs
- Camera.cs
- ReachSerializer.cs
- XmlDataCollection.cs
- HttpChannelHelper.cs
- ComAdminWrapper.cs
- XmlSchemaObjectCollection.cs
- ValidatingReaderNodeData.cs
- AccessDataSourceView.cs
- ThousandthOfEmRealPoints.cs
- XamlContextStack.cs
- TableCellAutomationPeer.cs
- TextEditorParagraphs.cs
- EncryptedData.cs
- Point4D.cs
- ServiceModelSecurityTokenTypes.cs
- ByeMessageCD1.cs
- ColorBuilder.cs
- GridViewColumnCollection.cs
- RtfToken.cs
- ClickablePoint.cs
- TextDecoration.cs
- ScriptMethodAttribute.cs
- EntityDataSourceEntitySetNameItem.cs
- HwndMouseInputProvider.cs
- SecurityCookieModeValidator.cs
- XPathException.cs
- HealthMonitoringSectionHelper.cs
- SafeCertificateContext.cs
- AddInController.cs
- DragStartedEventArgs.cs
- FillErrorEventArgs.cs
- ParallelQuery.cs
- DBSqlParserTable.cs
- OletxTransactionManager.cs
- Sentence.cs
- ActivityDesignerLayoutSerializers.cs
- StylusPointPropertyInfoDefaults.cs
- PermissionSet.cs
- FixedSOMElement.cs
- UTF8Encoding.cs
- GridViewUpdateEventArgs.cs
- _CommandStream.cs
- ProxyWebPartConnectionCollection.cs
- ObjectReaderCompiler.cs
- ListViewPagedDataSource.cs
- ObjectViewEntityCollectionData.cs
- UrlMappingCollection.cs
- ProfileInfo.cs
- XMLDiffLoader.cs
- DocumentPaginator.cs
- DataReceivedEventArgs.cs
- GZipDecoder.cs
- _ChunkParse.cs
- ReadOnlyDictionary.cs
- Oid.cs
- PagedDataSource.cs
- PageThemeBuildProvider.cs
- Focus.cs
- ValidatorAttribute.cs
- RotateTransform.cs
- GridViewRow.cs
- View.cs
- WinEventHandler.cs
- XmlMapping.cs