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
- DBSqlParserColumn.cs
- StreamWithDictionary.cs
- ObjectStateEntry.cs
- SynchronizationScope.cs
- TraceHwndHost.cs
- TableAutomationPeer.cs
- XmlQueryType.cs
- MaterializeFromAtom.cs
- DrawingCollection.cs
- Thread.cs
- CodeSubDirectory.cs
- Timer.cs
- Html32TextWriter.cs
- LoginViewDesigner.cs
- ColumnCollection.cs
- Graph.cs
- ConfigurationPermission.cs
- UnsafeNativeMethodsMilCoreApi.cs
- ListViewSelectEventArgs.cs
- BitConverter.cs
- DictionaryContent.cs
- BamlResourceSerializer.cs
- SoapCodeExporter.cs
- SizeAnimationClockResource.cs
- XamlVector3DCollectionSerializer.cs
- RenderTargetBitmap.cs
- PropertyInfo.cs
- PinProtectionHelper.cs
- ConsumerConnectionPointCollection.cs
- PhotoPrintingIntent.cs
- ConsumerConnectionPointCollection.cs
- StrongTypingException.cs
- MessageLogger.cs
- MediaElementAutomationPeer.cs
- OleDbStruct.cs
- ThumbAutomationPeer.cs
- DataGridViewTextBoxEditingControl.cs
- CollectionViewGroup.cs
- AVElementHelper.cs
- XamlRtfConverter.cs
- InterleavedZipPartStream.cs
- BuildProviderAppliesToAttribute.cs
- SoapElementAttribute.cs
- ConsoleKeyInfo.cs
- UserThread.cs
- DataGridTableCollection.cs
- AddingNewEventArgs.cs
- Classification.cs
- ExpressionPrefixAttribute.cs
- XmlException.cs
- XhtmlBasicSelectionListAdapter.cs
- ColumnHeaderConverter.cs
- XsltException.cs
- UserInitiatedNavigationPermission.cs
- HostedTransportConfigurationManager.cs
- OleDbConnection.cs
- XamlDebuggerXmlReader.cs
- DbConvert.cs
- RoutedPropertyChangedEventArgs.cs
- LogWriteRestartAreaState.cs
- SqlDataSourceView.cs
- SecureStringHasher.cs
- TdsEnums.cs
- EncryptedPackage.cs
- SafeLibraryHandle.cs
- ProviderCommandInfoUtils.cs
- HtmlListAdapter.cs
- ExtendedProperty.cs
- X509Logo.cs
- DependentList.cs
- SystemThemeKey.cs
- LookupBindingPropertiesAttribute.cs
- ParamArrayAttribute.cs
- NativeMethods.cs
- NetworkStream.cs
- HebrewCalendar.cs
- TextServicesDisplayAttribute.cs
- StreamMarshaler.cs
- GenericQueueSurrogate.cs
- CookieProtection.cs
- HtmlLink.cs
- OdbcStatementHandle.cs
- ProjectionCamera.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- ParamArrayAttribute.cs
- WSSecurityTokenSerializer.cs
- RichTextBoxConstants.cs
- Light.cs
- NodeFunctions.cs
- CellConstantDomain.cs
- XPathSingletonIterator.cs
- EventSetter.cs
- TypeElement.cs
- TransformGroup.cs
- SRGSCompiler.cs
- WSMessageEncoding.cs
- ObjectDataSourceWizardForm.cs
- DependencyPropertyAttribute.cs
- WindowsGraphicsCacheManager.cs
- TimeSpanOrInfiniteConverter.cs