Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / XPath / Internal / OperandQuery.cs / 2 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExceptionUtil.cs
- TreeViewHitTestInfo.cs
- DesignerWebPartChrome.cs
- UInt64Storage.cs
- HexParser.cs
- SizeConverter.cs
- Activity.cs
- FormParameter.cs
- RelationshipWrapper.cs
- AutoResetEvent.cs
- WebException.cs
- assertwrapper.cs
- UnaryExpression.cs
- NativeMethodsCLR.cs
- Lock.cs
- PolygonHotSpot.cs
- DataTableCollection.cs
- ClientScriptManagerWrapper.cs
- RegexCode.cs
- XmlNullResolver.cs
- SmiMetaData.cs
- ReadonlyMessageFilter.cs
- log.cs
- OleDbMetaDataFactory.cs
- InternalResources.cs
- DataGridViewHitTestInfo.cs
- ISAPIApplicationHost.cs
- AspNetSynchronizationContext.cs
- RemotingSurrogateSelector.cs
- UnsafeNativeMethods.cs
- ValidationErrorCollection.cs
- Annotation.cs
- UdpMessageProperty.cs
- XmlC14NWriter.cs
- DeferredTextReference.cs
- EventLogReader.cs
- DesignerSelectionListAdapter.cs
- OletxTransactionFormatter.cs
- LoginCancelEventArgs.cs
- CodeDelegateInvokeExpression.cs
- ColumnResult.cs
- SecurityRuntime.cs
- RequestResizeEvent.cs
- XsltSettings.cs
- SerializationInfo.cs
- ParamArrayAttribute.cs
- RectangleGeometry.cs
- StringUtil.cs
- VectorCollection.cs
- SqlConnectionFactory.cs
- SqlCommandSet.cs
- SourceElementsCollection.cs
- DBAsyncResult.cs
- LinqMaximalSubtreeNominator.cs
- Pkcs7Recipient.cs
- StylusPointDescription.cs
- RunWorkerCompletedEventArgs.cs
- ProfileServiceManager.cs
- ApplicationManager.cs
- DPTypeDescriptorContext.cs
- WebBaseEventKeyComparer.cs
- WebBrowsableAttribute.cs
- BuildProvider.cs
- Gdiplus.cs
- basenumberconverter.cs
- PageCatalogPart.cs
- FormsAuthenticationCredentials.cs
- NamedPipeAppDomainProtocolHandler.cs
- RevocationPoint.cs
- ContentPlaceHolder.cs
- DbConnectionStringBuilder.cs
- ElementMarkupObject.cs
- FileSecurity.cs
- LinqDataSourceSelectEventArgs.cs
- SqlCachedBuffer.cs
- Config.cs
- ListViewCommandEventArgs.cs
- Expander.cs
- TableChangeProcessor.cs
- objectquery_tresulttype.cs
- URLIdentityPermission.cs
- ExpandSegment.cs
- Stackframe.cs
- XmlSchemaSimpleType.cs
- IDReferencePropertyAttribute.cs
- PhysicalAddress.cs
- Listbox.cs
- ExtendedPropertyDescriptor.cs
- FocusChangedEventArgs.cs
- RoleManagerModule.cs
- EndGetFileNameFromUserRequest.cs
- BackgroundWorker.cs
- FileLogRecordHeader.cs
- SafeBitVector32.cs
- PageParserFilter.cs
- ListViewCancelEventArgs.cs
- KeyEvent.cs
- ColorConvertedBitmap.cs
- HighContrastHelper.cs
- BufferedMessageData.cs