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
- HtmlControl.cs
- XPathAncestorIterator.cs
- ScriptServiceAttribute.cs
- DataTableNewRowEvent.cs
- SplitterEvent.cs
- TableParaClient.cs
- Tool.cs
- PingOptions.cs
- ModuleElement.cs
- ComplexBindingPropertiesAttribute.cs
- ToolStripDropDownMenu.cs
- Point3DIndependentAnimationStorage.cs
- XmlSchemaObjectCollection.cs
- XmlSchemaAnnotated.cs
- SupportingTokenChannel.cs
- SkinIDTypeConverter.cs
- StorageMappingItemLoader.cs
- CatalogZoneBase.cs
- ImageUrlEditor.cs
- UInt16.cs
- InterleavedZipPartStream.cs
- XamlVector3DCollectionSerializer.cs
- DateTimeConverter.cs
- TextTreeTextNode.cs
- AdPostCacheSubstitution.cs
- IsolatedStorage.cs
- WpfKnownTypeInvoker.cs
- EdmComplexTypeAttribute.cs
- DataGridViewCheckBoxCell.cs
- TypeConverterHelper.cs
- ContentOperations.cs
- HtmlTextBoxAdapter.cs
- DrawingCollection.cs
- PtsPage.cs
- MarshalByRefObject.cs
- Size3DConverter.cs
- PageThemeBuildProvider.cs
- SmtpSection.cs
- SoapAttributeOverrides.cs
- SafeNativeMethods.cs
- CompiledRegexRunnerFactory.cs
- ALinqExpressionVisitor.cs
- RSAPKCS1SignatureFormatter.cs
- ComboBoxRenderer.cs
- IssuanceLicense.cs
- Win32KeyboardDevice.cs
- WorkflowViewStateService.cs
- CompositeControl.cs
- TagPrefixInfo.cs
- JumpPath.cs
- ButtonRenderer.cs
- BitmapEffectDrawingContent.cs
- Form.cs
- ElementAtQueryOperator.cs
- BackStopAuthenticationModule.cs
- ScriptControlDescriptor.cs
- GridViewCellAutomationPeer.cs
- WebControl.cs
- CroppedBitmap.cs
- NavigationEventArgs.cs
- PackWebResponse.cs
- SessionStateItemCollection.cs
- GroupItem.cs
- oledbmetadatacollectionnames.cs
- IndependentAnimationStorage.cs
- PerformanceCountersBase.cs
- SQLDoubleStorage.cs
- ValueType.cs
- Helpers.cs
- Journal.cs
- exports.cs
- HttpRequestCacheValidator.cs
- Stroke2.cs
- DiscoveryDocumentLinksPattern.cs
- NotifyInputEventArgs.cs
- ManifestBasedResourceGroveler.cs
- ScriptReferenceBase.cs
- HeaderUtility.cs
- UpnEndpointIdentity.cs
- PropertyNames.cs
- ServiceAuthorizationElement.cs
- WindowsRichEdit.cs
- ToolStripHighContrastRenderer.cs
- XamlFigureLengthSerializer.cs
- storagemappingitemcollection.viewdictionary.cs
- DataKeyArray.cs
- PassportAuthenticationEventArgs.cs
- WebPartVerb.cs
- CommandManager.cs
- StrongNameKeyPair.cs
- SmtpFailedRecipientException.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- PropertyPath.cs
- TimeStampChecker.cs
- VScrollProperties.cs
- MD5CryptoServiceProvider.cs
- _AutoWebProxyScriptHelper.cs
- DataRelationCollection.cs
- SafeNativeMemoryHandle.cs
- FrugalList.cs