Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ClientScriptManagerWrapper.cs
- DataSourceSelectArguments.cs
- GroupBoxRenderer.cs
- PageBreakRecord.cs
- TypeSystemHelpers.cs
- Pts.cs
- SpanIndex.cs
- TypefaceCollection.cs
- BulletDecorator.cs
- basemetadatamappingvisitor.cs
- TableHeaderCell.cs
- ExtensionQuery.cs
- XmlSchemaChoice.cs
- PeerConnector.cs
- DefaultPerformanceCounters.cs
- DeleteCardRequest.cs
- CompatibleComparer.cs
- NumberFormatter.cs
- MergeFilterQuery.cs
- XmlNodeReader.cs
- PrintPreviewGraphics.cs
- EmptyControlCollection.cs
- ListCollectionView.cs
- ValidatorCollection.cs
- DataGridViewColumnConverter.cs
- Transform3D.cs
- RelatedImageListAttribute.cs
- Renderer.cs
- MsmqBindingElementBase.cs
- ChannelAcceptor.cs
- RootDesignerSerializerAttribute.cs
- CqlParserHelpers.cs
- Utility.cs
- PenContexts.cs
- GridViewCancelEditEventArgs.cs
- ResXBuildProvider.cs
- RegionInfo.cs
- TraceSection.cs
- RangeBase.cs
- OciHandle.cs
- RegexMatch.cs
- TypeConverter.cs
- PolicyValidator.cs
- ExtensionSurface.cs
- PauseStoryboard.cs
- TraceHandler.cs
- SafeCryptoHandles.cs
- recordstate.cs
- WriteableBitmap.cs
- ContextBase.cs
- ExtendedPropertyDescriptor.cs
- DragDeltaEventArgs.cs
- MouseActionValueSerializer.cs
- ConnectionStringsSection.cs
- XmlChildNodes.cs
- TypeUsageBuilder.cs
- URI.cs
- XmlSchemaRedefine.cs
- HyperLinkColumn.cs
- propertytag.cs
- FieldBuilder.cs
- GenericWebPart.cs
- ProtocolsSection.cs
- Pen.cs
- InputScope.cs
- Permission.cs
- TextDecorationUnitValidation.cs
- AppDomainAttributes.cs
- CalendarTable.cs
- ActiveXHost.cs
- AuthenticationConfig.cs
- WebFormsRootDesigner.cs
- CustomLineCap.cs
- LineInfo.cs
- OrderingQueryOperator.cs
- BitmapImage.cs
- BaseTemplateBuildProvider.cs
- MergePropertyDescriptor.cs
- StringPropertyBuilder.cs
- codemethodreferenceexpression.cs
- CatalogPartDesigner.cs
- AttributeXamlType.cs
- SafeWaitHandle.cs
- WS2007FederationHttpBinding.cs
- TypeDependencyAttribute.cs
- TraceUtility.cs
- SecurityTokenSerializer.cs
- _UriTypeConverter.cs
- XmlSchemas.cs
- CodeMemberEvent.cs
- CodeGeneratorOptions.cs
- OdbcDataAdapter.cs
- TemplateControlBuildProvider.cs
- DrawingState.cs
- RawUIStateInputReport.cs
- AppDomainManager.cs
- CreateUserWizardStep.cs
- RightsManagementInformation.cs
- InkCanvasSelectionAdorner.cs
- TrackingProfile.cs