Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- GridViewColumnCollection.cs
- FixedDocumentSequencePaginator.cs
- LazyTextWriterCreator.cs
- XmlAnyElementAttributes.cs
- NativeMethods.cs
- SQLSingleStorage.cs
- Function.cs
- ListControl.cs
- SchemaObjectWriter.cs
- WebBrowserPermission.cs
- NameValueCache.cs
- SimpleMailWebEventProvider.cs
- ConfigurationManagerHelper.cs
- DelegatingTypeDescriptionProvider.cs
- ResourcesBuildProvider.cs
- QueryStatement.cs
- MarkupCompilePass2.cs
- SecureStringHasher.cs
- DockingAttribute.cs
- FileLoadException.cs
- Process.cs
- CellTreeNode.cs
- SafeSecurityHelper.cs
- ThicknessConverter.cs
- ScrollChrome.cs
- ChangeDirector.cs
- IssuedTokenParametersEndpointAddressElement.cs
- SQLChars.cs
- AssertFilter.cs
- ChangeBlockUndoRecord.cs
- DeviceContexts.cs
- WindowsListViewGroupHelper.cs
- InstanceData.cs
- BaseCollection.cs
- SoapEnvelopeProcessingElement.cs
- PolicyDesigner.cs
- SqlUtils.cs
- FixedSOMElement.cs
- WorkflowInstanceTerminatedRecord.cs
- PathTooLongException.cs
- ChtmlTextWriter.cs
- Dispatcher.cs
- SoapAttributeOverrides.cs
- NativeCppClassAttribute.cs
- _ScatterGatherBuffers.cs
- UndoEngine.cs
- DataTableTypeConverter.cs
- TypeDependencyAttribute.cs
- UserNameSecurityTokenAuthenticator.cs
- DocumentSchemaValidator.cs
- DetailsView.cs
- MediaPlayerState.cs
- XmlSchemaInfo.cs
- EventHandlersStore.cs
- SqlConnectionStringBuilder.cs
- KnownIds.cs
- ClientTarget.cs
- BasicViewGenerator.cs
- MultilineStringConverter.cs
- WebPartsPersonalizationAuthorization.cs
- HttpChannelHelper.cs
- WorkflowWebService.cs
- GcSettings.cs
- TableAdapterManagerNameHandler.cs
- FunctionQuery.cs
- RegisteredExpandoAttribute.cs
- TransactionProtocolConverter.cs
- TableProviderWrapper.cs
- SqlConnectionStringBuilder.cs
- RemotingAttributes.cs
- FloaterBaseParaClient.cs
- WindowsAuthenticationModule.cs
- RegisteredExpandoAttribute.cs
- Annotation.cs
- ValueUnavailableException.cs
- Button.cs
- DragEventArgs.cs
- UrlPropertyAttribute.cs
- TemplateDefinition.cs
- ClientBuildManager.cs
- WindowsUpDown.cs
- RSAProtectedConfigurationProvider.cs
- ActivityExecutionContextCollection.cs
- ApplicationId.cs
- ColorPalette.cs
- XmlElement.cs
- ParallelEnumerableWrapper.cs
- SrgsElement.cs
- FusionWrap.cs
- SafeNativeMethods.cs
- DataGridDetailsPresenterAutomationPeer.cs
- EdmPropertyAttribute.cs
- httpstaticobjectscollection.cs
- AllMembershipCondition.cs
- StaticSiteMapProvider.cs
- ObjectPersistData.cs
- TextElementCollection.cs
- RealProxy.cs
- IisTraceWebEventProvider.cs
- IISUnsafeMethods.cs