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
- LocatorBase.cs
- DataColumnMappingCollection.cs
- DataGridCommandEventArgs.cs
- hresults.cs
- ObjectResult.cs
- ApplicationServiceHelper.cs
- OrderedDictionary.cs
- DataControlFieldCell.cs
- EventManager.cs
- Fonts.cs
- TraceListeners.cs
- DesignerSerializationOptionsAttribute.cs
- Error.cs
- RayMeshGeometry3DHitTestResult.cs
- ProfileProvider.cs
- COM2ICategorizePropertiesHandler.cs
- BinHexEncoder.cs
- WorkflowViewStateService.cs
- WindowsGraphics.cs
- TypeSystem.cs
- DeferredBinaryDeserializerExtension.cs
- StringCollectionMarkupSerializer.cs
- SessionStateSection.cs
- IntegerValidator.cs
- ProfileGroupSettingsCollection.cs
- VerificationAttribute.cs
- Subtree.cs
- EventlogProvider.cs
- DataServiceContext.cs
- ToolStripContextMenu.cs
- DebugView.cs
- OutputBuffer.cs
- ImageClickEventArgs.cs
- RequestCachePolicyConverter.cs
- WebEventCodes.cs
- DataPointer.cs
- Exceptions.cs
- ToolboxItemFilterAttribute.cs
- XmlComment.cs
- UInt32Storage.cs
- BamlTreeNode.cs
- SqlConnectionStringBuilder.cs
- AnnotationComponentManager.cs
- LocalizationComments.cs
- FirstMatchCodeGroup.cs
- NullReferenceException.cs
- PageEventArgs.cs
- PenThreadWorker.cs
- StandardToolWindows.cs
- StorageComplexTypeMapping.cs
- Utility.cs
- SafePointer.cs
- WindowsFont.cs
- GetPageNumberCompletedEventArgs.cs
- XpsDocument.cs
- AttributeQuery.cs
- DefaultParameterValueAttribute.cs
- TextWriterTraceListener.cs
- HttpContextServiceHost.cs
- ProxyHelper.cs
- Constants.cs
- EmbossBitmapEffect.cs
- TableRowCollection.cs
- DependencyPropertyChangedEventArgs.cs
- SystemIcmpV4Statistics.cs
- ConstrainedDataObject.cs
- Timer.cs
- ContentFileHelper.cs
- ListViewItemSelectionChangedEvent.cs
- OletxTransactionHeader.cs
- DbUpdateCommandTree.cs
- SelectionItemProviderWrapper.cs
- RedirectionProxy.cs
- SharedTcpTransportManager.cs
- ResourceProviderFactory.cs
- DateTimeFormatInfoScanner.cs
- EndEvent.cs
- CallbackValidatorAttribute.cs
- MessageFault.cs
- SemanticResultValue.cs
- ClientApiGenerator.cs
- FloaterBaseParaClient.cs
- TemplatedAdorner.cs
- ThaiBuddhistCalendar.cs
- QueryHandler.cs
- AsyncStreamReader.cs
- PipeConnection.cs
- StrongNamePublicKeyBlob.cs
- SamlConditions.cs
- SoundPlayerAction.cs
- Pair.cs
- XmlDataSourceView.cs
- Column.cs
- WindowsListViewItem.cs
- AVElementHelper.cs
- ExportOptions.cs
- XPathSelectionIterator.cs
- MessageLoggingElement.cs
- ComEventsSink.cs
- SemaphoreFullException.cs