Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / XPath / Internal / Operand.cs / 1305376 / 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
- HWStack.cs
- SystemIcmpV4Statistics.cs
- AlternateViewCollection.cs
- FlowLayoutSettings.cs
- RegexMatchCollection.cs
- KeyboardNavigation.cs
- baseaxisquery.cs
- ImageAutomationPeer.cs
- AssemblyBuilder.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- DbProviderFactories.cs
- XhtmlBasicPageAdapter.cs
- UserControl.cs
- ConfigXmlText.cs
- DispatcherExceptionEventArgs.cs
- StaticFileHandler.cs
- ChangeInterceptorAttribute.cs
- MsmqBindingFilter.cs
- DecoderBestFitFallback.cs
- CookieParameter.cs
- EntityProxyTypeInfo.cs
- StrongNameHelpers.cs
- AssemblyName.cs
- OleStrCAMarshaler.cs
- StructuredCompositeActivityDesigner.cs
- SystemBrushes.cs
- TextElementCollection.cs
- Size3D.cs
- GuidelineSet.cs
- XamlWriter.cs
- FileRecordSequenceHelper.cs
- MembershipValidatePasswordEventArgs.cs
- ListViewItem.cs
- TextAnchor.cs
- ListBoxItemAutomationPeer.cs
- WCFModelStrings.Designer.cs
- BasicExpandProvider.cs
- SudsCommon.cs
- GcHandle.cs
- DistinctQueryOperator.cs
- QilValidationVisitor.cs
- Qualifier.cs
- ChildrenQuery.cs
- EventLogPermissionEntryCollection.cs
- CalendarTable.cs
- SystemEvents.cs
- BufferModeSettings.cs
- Typography.cs
- LineVisual.cs
- EntityDataSourceWizardForm.cs
- DataSourceView.cs
- GenericNameHandler.cs
- TextTreeFixupNode.cs
- QilTargetType.cs
- EncoderBestFitFallback.cs
- PersistenceTypeAttribute.cs
- InitiatorSessionSymmetricMessageSecurityProtocol.cs
- BaseValidator.cs
- ZipIOModeEnforcingStream.cs
- HttpsHostedTransportConfiguration.cs
- DocumentationServerProtocol.cs
- DataGridViewTopRowAccessibleObject.cs
- XmlDigitalSignatureProcessor.cs
- FramingFormat.cs
- X509Chain.cs
- UnaryExpression.cs
- HttpProfileGroupBase.cs
- TCPClient.cs
- WebPartRestoreVerb.cs
- FormViewUpdatedEventArgs.cs
- MetadataItemSerializer.cs
- ModelItem.cs
- LoginView.cs
- LayoutEvent.cs
- OdbcConnectionFactory.cs
- ProcessStartInfo.cs
- MatrixCamera.cs
- SimpleMailWebEventProvider.cs
- _SSPISessionCache.cs
- SplineQuaternionKeyFrame.cs
- MobileErrorInfo.cs
- EncoderParameters.cs
- Panel.cs
- _SingleItemRequestCache.cs
- MsmqHostedTransportManager.cs
- COM2Properties.cs
- ComponentResourceManager.cs
- MatrixStack.cs
- LookupNode.cs
- LocationChangedEventArgs.cs
- ComplexPropertyEntry.cs
- LicenseProviderAttribute.cs
- TimeManager.cs
- HuffCodec.cs
- PageBuildProvider.cs
- KoreanCalendar.cs
- IndexOutOfRangeException.cs
- BindingMAnagerBase.cs
- DataControlCommands.cs
- PageTrueTypeFont.cs