Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // //[....] //----------------------------------------------------------------------------- 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
- BaseInfoTable.cs
- WorkflowInvoker.cs
- HttpStreamFormatter.cs
- tabpagecollectioneditor.cs
- Activation.cs
- DESCryptoServiceProvider.cs
- ColumnWidthChangingEvent.cs
- CommonDialog.cs
- ContainerActivationHelper.cs
- ConnectivityStatus.cs
- GetTokenRequest.cs
- SafeBitVector32.cs
- dtdvalidator.cs
- FrameworkContentElement.cs
- SqlDataSourceDesigner.cs
- SplashScreenNativeMethods.cs
- CompositeCollectionView.cs
- StringComparer.cs
- PointHitTestParameters.cs
- AssemblyBuilderData.cs
- EventBuilder.cs
- FixedSOMPageConstructor.cs
- CheckedListBox.cs
- DbCommandDefinition.cs
- ObjectDisposedException.cs
- TCPListener.cs
- InternalConfigSettingsFactory.cs
- CustomPopupPlacement.cs
- XMLSyntaxException.cs
- DecimalStorage.cs
- TypeDescriptionProviderAttribute.cs
- MissingSatelliteAssemblyException.cs
- SponsorHelper.cs
- DataGridTextBox.cs
- _ChunkParse.cs
- TargetParameterCountException.cs
- BufferedGraphicsManager.cs
- EpmContentSerializer.cs
- FieldNameLookup.cs
- GeometryHitTestResult.cs
- DataGridViewCellPaintingEventArgs.cs
- DocumentOrderQuery.cs
- PiiTraceSource.cs
- CodeDesigner.cs
- DateTimeParse.cs
- JoinSymbol.cs
- mediapermission.cs
- HttpPostedFile.cs
- SrgsToken.cs
- BitVector32.cs
- Expression.cs
- Span.cs
- Subordinate.cs
- NameNode.cs
- DoubleCollectionConverter.cs
- XmlSchema.cs
- ValidationError.cs
- CodeDirectiveCollection.cs
- WeakReference.cs
- ImageInfo.cs
- FamilyTypeface.cs
- ToolStripItemDesigner.cs
- ContentIterators.cs
- WebServiceEnumData.cs
- AssociationSet.cs
- XmlSerializerVersionAttribute.cs
- CatalogPartCollection.cs
- ObjectContext.cs
- TransactionContextValidator.cs
- ThreadStaticAttribute.cs
- UIPermission.cs
- LongMinMaxAggregationOperator.cs
- BaseTemplateParser.cs
- TextSyndicationContentKindHelper.cs
- XMLSyntaxException.cs
- InputDevice.cs
- WebPartsPersonalizationAuthorization.cs
- Block.cs
- PanelDesigner.cs
- RemotingConfigParser.cs
- ItemDragEvent.cs
- Byte.cs
- _NegoStream.cs
- DataListCommandEventArgs.cs
- StorageComplexPropertyMapping.cs
- TransformerTypeCollection.cs
- AnimationClockResource.cs
- ConnectionManagementElementCollection.cs
- SymmetricAlgorithm.cs
- FontSource.cs
- HitTestFilterBehavior.cs
- PageContent.cs
- EditorPartCollection.cs
- ImageField.cs
- SyndicationElementExtension.cs
- XamlParser.cs
- GraphicsPath.cs
- DoubleKeyFrameCollection.cs
- DesignColumn.cs
- KeyGestureValueSerializer.cs