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
- CodeRegionDirective.cs
- PipelineModuleStepContainer.cs
- Collection.cs
- HexParser.cs
- DataGridViewColumnHeaderCell.cs
- StyleCollection.cs
- LineServices.cs
- StringWriter.cs
- ExpressionSelection.cs
- ToolStripMenuItemCodeDomSerializer.cs
- SHA1Managed.cs
- ConfigurationProperty.cs
- GlobalizationSection.cs
- LinkClickEvent.cs
- ServiceOperation.cs
- ApplicationTrust.cs
- DataGridCaption.cs
- TextEffect.cs
- SpeakProgressEventArgs.cs
- ProfileSettingsCollection.cs
- ServiceDocument.cs
- LocatorManager.cs
- InstanceLockedException.cs
- StringBuilder.cs
- SqlNotificationRequest.cs
- BitmapEffectGeneralTransform.cs
- AppSettingsExpressionBuilder.cs
- ToolboxItemSnapLineBehavior.cs
- EmptyControlCollection.cs
- Model3DGroup.cs
- OrderedDictionaryStateHelper.cs
- Cursor.cs
- ListDictionary.cs
- Vector3D.cs
- log.cs
- RawUIStateInputReport.cs
- Int64AnimationUsingKeyFrames.cs
- DataTableCollection.cs
- ListDictionaryInternal.cs
- CellLabel.cs
- BaseDataBoundControl.cs
- SafeSecurityHandles.cs
- OleDbPermission.cs
- VSDExceptions.cs
- BlobPersonalizationState.cs
- AssociationEndMember.cs
- WebReferencesBuildProvider.cs
- BypassElement.cs
- TemplateParser.cs
- ByteStream.cs
- As.cs
- AsyncDataRequest.cs
- TraceContextRecord.cs
- EdmEntityTypeAttribute.cs
- ToolboxBitmapAttribute.cs
- Merger.cs
- SiteMembershipCondition.cs
- ImageDesigner.cs
- CommandField.cs
- MediaElement.cs
- TreeViewEvent.cs
- SystemResources.cs
- TemplatedWizardStep.cs
- DataGridViewDataConnection.cs
- TextElementEditingBehaviorAttribute.cs
- AlternateView.cs
- Button.cs
- SectionXmlInfo.cs
- KeyFrames.cs
- ArgIterator.cs
- TextServicesDisplayAttribute.cs
- FontSourceCollection.cs
- SplitterCancelEvent.cs
- DbConnectionFactory.cs
- MetadataCache.cs
- RegionInfo.cs
- ReadOnlyDataSource.cs
- XmlElement.cs
- ToolStripPanel.cs
- VoiceInfo.cs
- documentsequencetextpointer.cs
- ServiceModelActivity.cs
- FormViewPagerRow.cs
- CacheForPrimitiveTypes.cs
- DPAPIProtectedConfigurationProvider.cs
- InsufficientMemoryException.cs
- x509utils.cs
- EventLogConfiguration.cs
- FloatAverageAggregationOperator.cs
- ProcessHostServerConfig.cs
- SQLCharsStorage.cs
- IIS7WorkerRequest.cs
- Light.cs
- ListSourceHelper.cs
- EncryptedPackageFilter.cs
- DataControlReference.cs
- ZipIOCentralDirectoryFileHeader.cs
- DesignTableCollection.cs
- SqlTypeConverter.cs
- UrlMappingsSection.cs