Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / XPath / Internal / Operand.cs / 1 / Operand.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; internal class Operand : AstNode { private XPathResultType type; private object val; public Operand(string val) { this.type = XPathResultType.String; this.val = val; } public Operand(double val) { this.type = XPathResultType.Number; this.val = val; } public Operand(bool val) { this.type = XPathResultType.Boolean; this.val = val; } public override AstType Type { get { return AstType.ConstantOperand; } } public override XPathResultType ReturnType { get { return type; } } public object OperandValue { get { return val; } } } } // 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
- DbProviderConfigurationHandler.cs
- MimeMapping.cs
- ConnectionStringsSection.cs
- XamlParser.cs
- TemplatedAdorner.cs
- TaiwanCalendar.cs
- _ProxyRegBlob.cs
- GorillaCodec.cs
- ItemList.cs
- RegexGroup.cs
- EventPropertyMap.cs
- CellTreeNodeVisitors.cs
- AuthenticatedStream.cs
- Cursor.cs
- basecomparevalidator.cs
- DrawListViewSubItemEventArgs.cs
- MethodMessage.cs
- StartFileNameEditor.cs
- MessageSecurityOverTcpElement.cs
- SystemInformation.cs
- COM2PropertyDescriptor.cs
- wgx_exports.cs
- RuleElement.cs
- CryptoStream.cs
- BinaryMethodMessage.cs
- NamespaceList.cs
- EncryptedData.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ApplicationId.cs
- PostBackOptions.cs
- CompressEmulationStream.cs
- SqlConnectionPoolProviderInfo.cs
- GlobalDataBindingHandler.cs
- EntityDataSourceChangedEventArgs.cs
- Stream.cs
- IfAction.cs
- CodeDefaultValueExpression.cs
- ProgressChangedEventArgs.cs
- Int16Storage.cs
- TextTreeUndo.cs
- ErrorWebPart.cs
- HttpServerVarsCollection.cs
- HttpModuleActionCollection.cs
- assemblycache.cs
- SiteMapNodeItemEventArgs.cs
- CFGGrammar.cs
- AbandonedMutexException.cs
- PrintDialog.cs
- DbParameterCollectionHelper.cs
- HttpPostedFile.cs
- RegexInterpreter.cs
- LicenseContext.cs
- CompoundFileReference.cs
- safesecurityhelperavalon.cs
- Translator.cs
- TypeBuilderInstantiation.cs
- EncoderNLS.cs
- WeakReferenceList.cs
- TaskFileService.cs
- EdmFunction.cs
- BitmapImage.cs
- ThreadStartException.cs
- Dynamic.cs
- TransformProviderWrapper.cs
- StorageSetMapping.cs
- Add.cs
- DesignerView.xaml.cs
- DesignerActionVerbList.cs
- HttpValueCollection.cs
- PageParser.cs
- Size3D.cs
- EntityWithKeyStrategy.cs
- HttpException.cs
- StorageComplexTypeMapping.cs
- XLinq.cs
- XmlNamespaceDeclarationsAttribute.cs
- storepermissionattribute.cs
- RegexCompiler.cs
- TypeConverterHelper.cs
- Pipe.cs
- Coordinator.cs
- Stopwatch.cs
- NotCondition.cs
- userdatakeys.cs
- GenericAuthenticationEventArgs.cs
- SqlConnectionFactory.cs
- XmlChildEnumerator.cs
- DocumentPageViewAutomationPeer.cs
- ObjectAssociationEndMapping.cs
- ArgumentOutOfRangeException.cs
- Inline.cs
- GregorianCalendarHelper.cs
- ConnectionsZoneAutoFormat.cs
- Queue.cs
- TransportSecurityBindingElement.cs
- IEnumerable.cs
- TranslateTransform3D.cs
- PackageRelationshipCollection.cs
- HttpServerUtilityBase.cs
- RotateTransform3D.cs