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
- CodeGenerator.cs
- WebPartTransformerCollection.cs
- ListViewItemMouseHoverEvent.cs
- Misc.cs
- DesignTimeTemplateParser.cs
- FunctionDescription.cs
- HttpCapabilitiesSectionHandler.cs
- StringExpressionSet.cs
- EdmType.cs
- ClientTargetCollection.cs
- HwndSourceParameters.cs
- SourceLineInfo.cs
- QilIterator.cs
- IUnknownConstantAttribute.cs
- Point3DValueSerializer.cs
- ExtenderProvidedPropertyAttribute.cs
- TextParagraph.cs
- UpdateDelegates.Generated.cs
- InkCanvasAutomationPeer.cs
- _ListenerRequestStream.cs
- BaseUriHelper.cs
- KnowledgeBase.cs
- TreeIterator.cs
- UpdateException.cs
- DataGridCommandEventArgs.cs
- Rectangle.cs
- ServiceContractListItemList.cs
- DataGridViewCellMouseEventArgs.cs
- ClientScriptManagerWrapper.cs
- linebase.cs
- RightsManagementProvider.cs
- ListControlActionList.cs
- FacetValueContainer.cs
- DefaultDiscoveryServiceExtension.cs
- COAUTHIDENTITY.cs
- LicenseManager.cs
- AttachInfo.cs
- XmlUnspecifiedAttribute.cs
- TextElement.cs
- UidPropertyAttribute.cs
- IntSecurity.cs
- IntegerFacetDescriptionElement.cs
- UIAgentCrashedException.cs
- HitTestDrawingContextWalker.cs
- SettingsPropertyIsReadOnlyException.cs
- PrintPreviewDialog.cs
- _ChunkParse.cs
- GridViewUpdateEventArgs.cs
- TextRenderer.cs
- TextFormatterImp.cs
- StringFormat.cs
- References.cs
- Expression.cs
- HttpHandlerActionCollection.cs
- CachedRequestParams.cs
- XmlSchemaValidator.cs
- TransformGroup.cs
- RedBlackList.cs
- ScrollBar.cs
- UnmanagedMarshal.cs
- SplitterPanel.cs
- HMACRIPEMD160.cs
- FixedSOMTable.cs
- BooleanFacetDescriptionElement.cs
- UnauthorizedWebPart.cs
- FusionWrap.cs
- PropertyGeneratedEventArgs.cs
- SHA512Managed.cs
- EntityContainer.cs
- Base64Encoder.cs
- PagesSection.cs
- DirectoryInfo.cs
- Timer.cs
- IPPacketInformation.cs
- WhitespaceSignificantCollectionAttribute.cs
- BitmapImage.cs
- SmiConnection.cs
- ControllableStoryboardAction.cs
- XmlLoader.cs
- SmiGettersStream.cs
- DefaultObjectSerializer.cs
- WinFormsSpinner.cs
- LineMetrics.cs
- AnnotationResourceChangedEventArgs.cs
- XmlDocumentFieldSchema.cs
- CompositeKey.cs
- QilChoice.cs
- FlatButtonAppearance.cs
- HttpModulesSection.cs
- DelegatingStream.cs
- StickyNoteContentControl.cs
- SkinBuilder.cs
- PKCS1MaskGenerationMethod.cs
- shaper.cs
- InheritanceContextChangedEventManager.cs
- RequestTimeoutManager.cs
- InputManager.cs
- Section.cs
- SqlFacetAttribute.cs
- TypeNameConverter.cs