Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Memoizer.cs
- ComponentEvent.cs
- FlowDocumentView.cs
- Property.cs
- ExecutionContext.cs
- XdrBuilder.cs
- SQLBoolean.cs
- SelectionGlyph.cs
- ClientApiGenerator.cs
- RegularExpressionValidator.cs
- SystemIcmpV6Statistics.cs
- MachineKeySection.cs
- TempEnvironment.cs
- MouseCaptureWithinProperty.cs
- FieldNameLookup.cs
- TransformPattern.cs
- PopupRootAutomationPeer.cs
- DynamicEntity.cs
- XmlSchema.cs
- ReadOnlyTernaryTree.cs
- OutgoingWebRequestContext.cs
- ClientFormsIdentity.cs
- DefaultPerformanceCounters.cs
- ManageRequest.cs
- StaticExtension.cs
- EncryptedXml.cs
- DataGridColumnCollection.cs
- EncoderBestFitFallback.cs
- DefaultAuthorizationContext.cs
- OleDbError.cs
- ToolBarButton.cs
- CodeBinaryOperatorExpression.cs
- PersonalizationDictionary.cs
- MouseCaptureWithinProperty.cs
- WebPartConnectVerb.cs
- FlowDocumentView.cs
- DataTablePropertyDescriptor.cs
- ArraySubsetEnumerator.cs
- SelectionEditor.cs
- ToolStripContainerDesigner.cs
- SyntaxCheck.cs
- Funcletizer.cs
- StorageComplexTypeMapping.cs
- InvalidCastException.cs
- GridPattern.cs
- LineGeometry.cs
- KeyPullup.cs
- SpotLight.cs
- StatusBarAutomationPeer.cs
- URL.cs
- GregorianCalendar.cs
- Substitution.cs
- Pair.cs
- Msmq.cs
- GraphicsContext.cs
- ProcessModelInfo.cs
- SizeLimitedCache.cs
- CachedBitmap.cs
- TextEffect.cs
- DirectionalLight.cs
- PointConverter.cs
- WebPartEditorCancelVerb.cs
- RemoteWebConfigurationHostServer.cs
- SizeChangedEventArgs.cs
- PolicyLevel.cs
- TripleDESCryptoServiceProvider.cs
- TableRowCollection.cs
- UInt64Storage.cs
- unsafenativemethodstextservices.cs
- LineSegment.cs
- MDIClient.cs
- MyContact.cs
- SqlClientPermission.cs
- TableLayoutSettings.cs
- WorkflowDispatchContext.cs
- RelationshipDetailsRow.cs
- SafeProcessHandle.cs
- MappingItemCollection.cs
- XmlValidatingReader.cs
- DependencyPropertyChangedEventArgs.cs
- ContainerParaClient.cs
- CacheHelper.cs
- LoadedOrUnloadedOperation.cs
- WebPartMinimizeVerb.cs
- IPipelineRuntime.cs
- SqlCommand.cs
- DBSchemaTable.cs
- ApplicationBuildProvider.cs
- CompositeCollectionView.cs
- DataContractAttribute.cs
- ImageSource.cs
- BitmapSizeOptions.cs
- ControllableStoryboardAction.cs
- StickyNoteAnnotations.cs
- TextServicesContext.cs
- WindowsScrollBar.cs
- ObjectTypeMapping.cs
- SectionInformation.cs
- CheckBoxList.cs
- KeyboardDevice.cs