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
- AuthenticationService.cs
- ChannelSinkStacks.cs
- MediaContext.cs
- PhonemeConverter.cs
- SinglePhaseEnlistment.cs
- Odbc32.cs
- ConditionalDesigner.cs
- AttributeAction.cs
- DecimalAnimationBase.cs
- PtsHelper.cs
- ADConnectionHelper.cs
- TimerExtension.cs
- SoapHeaders.cs
- HGlobalSafeHandle.cs
- InkCanvas.cs
- SynchronizedDispatch.cs
- RotateTransform3D.cs
- UniqueConstraint.cs
- SchemaNamespaceManager.cs
- ItemsControl.cs
- ProfileInfo.cs
- StylusCaptureWithinProperty.cs
- BatchParser.cs
- ReflectionHelper.cs
- Comparer.cs
- wgx_commands.cs
- MessageSecurityVersionConverter.cs
- ChtmlSelectionListAdapter.cs
- InternalCache.cs
- DataPagerCommandEventArgs.cs
- ButtonBase.cs
- Missing.cs
- AddInAdapter.cs
- XmlKeywords.cs
- CapabilitiesRule.cs
- IxmlLineInfo.cs
- SqlProvider.cs
- ForeignKeyFactory.cs
- ParameterDataSourceExpression.cs
- ZipIOBlockManager.cs
- DesignerOptionService.cs
- SudsCommon.cs
- Point4DValueSerializer.cs
- DummyDataSource.cs
- DetailsView.cs
- DateTimeParse.cs
- DecimalKeyFrameCollection.cs
- CapabilitiesUse.cs
- UnknownWrapper.cs
- MenuAdapter.cs
- SqlConnectionHelper.cs
- FixedTextContainer.cs
- serverconfig.cs
- ConfigurationSection.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- EntityDesignPluralizationHandler.cs
- Buffer.cs
- autovalidator.cs
- SqlCacheDependencySection.cs
- SoapSchemaMember.cs
- EncryptedXml.cs
- RC2CryptoServiceProvider.cs
- WindowsHyperlink.cs
- WebReferencesBuildProvider.cs
- ProfilePropertyMetadata.cs
- TextServicesProperty.cs
- OracleConnectionStringBuilder.cs
- WebDescriptionAttribute.cs
- TreeNodeSelectionProcessor.cs
- IdentifierService.cs
- UmAlQuraCalendar.cs
- SqlDataRecord.cs
- CTreeGenerator.cs
- UpdatePanelTrigger.cs
- HandledMouseEvent.cs
- SmiTypedGetterSetter.cs
- UriTemplateLiteralQueryValue.cs
- RepeaterCommandEventArgs.cs
- FontCacheUtil.cs
- HtmlInputButton.cs
- PassportAuthentication.cs
- CodeTypeDeclaration.cs
- LexicalChunk.cs
- DesignerProperties.cs
- InternalPermissions.cs
- PathSegment.cs
- LongValidator.cs
- LineMetrics.cs
- TdsParameterSetter.cs
- ProviderCollection.cs
- CfgArc.cs
- DetailsView.cs
- EpmHelper.cs
- SerializationStore.cs
- DynamicEndpoint.cs
- ParameterElement.cs
- BindableTemplateBuilder.cs
- FlowSwitchLink.cs
- InputScope.cs
- UpdateManifestForBrowserApplication.cs