Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / XPath / Internal / Operand.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegexMatch.cs
- WindowsAuthenticationModule.cs
- CompositeActivityTypeDescriptor.cs
- DrawingServices.cs
- AsnEncodedData.cs
- RoleGroup.cs
- ResourceDictionary.cs
- DoubleIndependentAnimationStorage.cs
- PreservationFileReader.cs
- BackgroundFormatInfo.cs
- AsymmetricKeyExchangeDeformatter.cs
- Formatter.cs
- SortQuery.cs
- LoadGrammarCompletedEventArgs.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- EllipticalNodeOperations.cs
- FixUpCollection.cs
- FixedFlowMap.cs
- TCPListener.cs
- PolyQuadraticBezierSegment.cs
- XmlNamespaceManager.cs
- DesignTimeValidationFeature.cs
- SelectionListComponentEditor.cs
- ReadOnlyHierarchicalDataSourceView.cs
- IdentityValidationException.cs
- DataKeyPropertyAttribute.cs
- DeviceContext.cs
- StringBlob.cs
- FileUpload.cs
- DebugController.cs
- AsymmetricCryptoHandle.cs
- XmlWriter.cs
- KeyboardEventArgs.cs
- StateInitialization.cs
- AutomationElementCollection.cs
- WindowsComboBox.cs
- AppDomainManager.cs
- PackageDigitalSignatureManager.cs
- CollectionChangedEventManager.cs
- MetabaseServerConfig.cs
- PreviewPrintController.cs
- MessageQueuePermissionEntryCollection.cs
- ReadOnlyCollectionBase.cs
- EntityCodeGenerator.cs
- X509CertificateStore.cs
- WebRequest.cs
- Collection.cs
- Privilege.cs
- Int64Storage.cs
- SafeLocalMemHandle.cs
- Image.cs
- Blend.cs
- TypeReference.cs
- CodeSnippetCompileUnit.cs
- SqlCacheDependencyDatabase.cs
- DockPattern.cs
- CompilerInfo.cs
- DiscoveryClient.cs
- AutomationProperties.cs
- metadatamappinghashervisitor.cs
- AutomationFocusChangedEventArgs.cs
- ImageListStreamer.cs
- RawTextInputReport.cs
- CaseStatementProjectedSlot.cs
- Tuple.cs
- TypeElement.cs
- CardSpacePolicyElement.cs
- SqlCachedBuffer.cs
- WeakReference.cs
- PropertyFilterAttribute.cs
- DesignSurface.cs
- _CommandStream.cs
- InternalException.cs
- processwaithandle.cs
- MulticastOption.cs
- NetMsmqSecurityElement.cs
- EpmContentSerializerBase.cs
- XmlObjectSerializerReadContextComplex.cs
- ControlIdConverter.cs
- WizardForm.cs
- NativeMethods.cs
- CategoryNameCollection.cs
- PopupRoot.cs
- ResXDataNode.cs
- ReferenceSchema.cs
- OrderByLifter.cs
- StrongNamePublicKeyBlob.cs
- PropertyChange.cs
- SoapFault.cs
- ConvertTextFrag.cs
- ObjectListItem.cs
- VectorKeyFrameCollection.cs
- CallContext.cs
- EnumValAlphaComparer.cs
- PrintDocument.cs
- RunInstallerAttribute.cs
- PrintingPermission.cs
- WebPartEventArgs.cs
- SubstitutionList.cs
- NegotiateStream.cs