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
- Transform.cs
- CharStorage.cs
- ObjectContext.cs
- ActivityLocationReferenceEnvironment.cs
- CompositionAdorner.cs
- RequestResizeEvent.cs
- ChildTable.cs
- EntityViewGenerator.cs
- SqlParameterCollection.cs
- TagNameToTypeMapper.cs
- XmlAggregates.cs
- EventSourceCreationData.cs
- WriteTimeStream.cs
- Pen.cs
- ProxySimple.cs
- SkipStoryboardToFill.cs
- X509Logo.cs
- ListBox.cs
- PrintController.cs
- PerspectiveCamera.cs
- WebPartDisplayModeCollection.cs
- shaper.cs
- GeneralTransform3D.cs
- PauseStoryboard.cs
- Vector.cs
- ConstrainedDataObject.cs
- ScrollBar.cs
- OledbConnectionStringbuilder.cs
- WindowsNonControl.cs
- QuaternionAnimation.cs
- ClientSettingsProvider.cs
- UrlAuthFailedErrorFormatter.cs
- webeventbuffer.cs
- FontWeights.cs
- MostlySingletonList.cs
- TrustManager.cs
- FindRequestContext.cs
- TextTreeObjectNode.cs
- PolicyVersionConverter.cs
- SmtpException.cs
- OrderByQueryOptionExpression.cs
- AsyncPostBackErrorEventArgs.cs
- XslTransform.cs
- UnmanagedMarshal.cs
- ExpressionPrinter.cs
- LocalFileSettingsProvider.cs
- SecurityUtils.cs
- DataReceivedEventArgs.cs
- ConstraintEnumerator.cs
- ApplicationActivator.cs
- webclient.cs
- CommentEmitter.cs
- DesignConnectionCollection.cs
- SemanticTag.cs
- FixedSOMPage.cs
- XmlDocumentType.cs
- SingleAnimationBase.cs
- DataViewSettingCollection.cs
- SecurityHelper.cs
- RegexMatch.cs
- RootBuilder.cs
- DataGridViewCellLinkedList.cs
- UIPropertyMetadata.cs
- NetworkStream.cs
- ProfileGroupSettingsCollection.cs
- TypeConstant.cs
- ChangeProcessor.cs
- PtsContext.cs
- FilterQueryOptionExpression.cs
- RegisteredScript.cs
- CommentAction.cs
- PreApplicationStartMethodAttribute.cs
- ConfigXmlText.cs
- OracleInternalConnection.cs
- CharacterBuffer.cs
- RuleDefinitions.cs
- IndividualDeviceConfig.cs
- Type.cs
- ProgramNode.cs
- Switch.cs
- PropertyBuilder.cs
- nulltextnavigator.cs
- FontUnit.cs
- _ConnectOverlappedAsyncResult.cs
- SymbolPair.cs
- VariableQuery.cs
- HtmlHead.cs
- ProcessInfo.cs
- UIElementCollection.cs
- StateFinalizationActivity.cs
- EndEvent.cs
- Memoizer.cs
- MailDefinition.cs
- IProducerConsumerCollection.cs
- SmtpTransport.cs
- Method.cs
- ChangeConflicts.cs
- CacheHelper.cs
- ProfileSettings.cs
- StatusBarPanel.cs