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
- AttachInfo.cs
- ACL.cs
- TextSelection.cs
- CompModSwitches.cs
- Underline.cs
- DbProviderFactory.cs
- Animatable.cs
- CompatibleIComparer.cs
- ComPlusTraceRecord.cs
- DataServiceResponse.cs
- DependencyProperty.cs
- util.cs
- WorkflowMarkupSerializer.cs
- DynamicUpdateCommand.cs
- SQLBytesStorage.cs
- UrlAuthFailedErrorFormatter.cs
- DocumentSignatureManager.cs
- GeneratedCodeAttribute.cs
- TypeForwardedToAttribute.cs
- MailWriter.cs
- ResXResourceReader.cs
- Parallel.cs
- MessageDecoder.cs
- InternalTypeHelper.cs
- ProviderConnectionPoint.cs
- _Connection.cs
- JsonReaderDelegator.cs
- HostingEnvironmentException.cs
- CompositeTypefaceMetrics.cs
- SelectionRange.cs
- XmlSerializationReader.cs
- StylusPoint.cs
- BaseHashHelper.cs
- GeometryValueSerializer.cs
- IndexedSelectQueryOperator.cs
- AudioLevelUpdatedEventArgs.cs
- SqlUtil.cs
- BuildProviderCollection.cs
- SortedSet.cs
- HwndMouseInputProvider.cs
- InvalidOleVariantTypeException.cs
- HtmlContainerControl.cs
- LayoutManager.cs
- DataGridGeneralPage.cs
- ClientSettingsStore.cs
- CodeTypeReferenceExpression.cs
- SamlDelegatingWriter.cs
- WebPartRestoreVerb.cs
- TreeBuilder.cs
- SoapMessage.cs
- EntityDesignPluralizationHandler.cs
- TreeNodeStyleCollection.cs
- TextContainerChangedEventArgs.cs
- Variant.cs
- QilUnary.cs
- UpdateCommandGenerator.cs
- ToolStripContainerActionList.cs
- ClaimTypeRequirement.cs
- UnsafeNativeMethods.cs
- OracleString.cs
- UIElementIsland.cs
- SQLBinary.cs
- Int16Converter.cs
- MobileControl.cs
- DrawingContextWalker.cs
- StylusEditingBehavior.cs
- Deflater.cs
- RecordConverter.cs
- ListenerChannelContext.cs
- ClientClassGenerator.cs
- BaseServiceProvider.cs
- StreamGeometry.cs
- WebCategoryAttribute.cs
- SecurityTokenResolver.cs
- XmlConvert.cs
- listviewsubitemcollectioneditor.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ListBoxChrome.cs
- ButtonChrome.cs
- AppDomainUnloadedException.cs
- figurelength.cs
- SolidBrush.cs
- AsynchronousChannel.cs
- ChtmlTextBoxAdapter.cs
- AppDomainFactory.cs
- XPathScanner.cs
- EventLogger.cs
- MediaScriptCommandRoutedEventArgs.cs
- XmlSchemaSimpleTypeRestriction.cs
- AsymmetricAlgorithm.cs
- _NativeSSPI.cs
- TextPattern.cs
- InternalPermissions.cs
- WriteableBitmap.cs
- IdnMapping.cs
- GridItem.cs
- Expression.DebuggerProxy.cs
- FormsAuthenticationConfiguration.cs
- IsolatedStorageFile.cs
- KeyTimeConverter.cs