Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RowsCopiedEventArgs.cs
- RegularExpressionValidator.cs
- CompilerGlobalScopeAttribute.cs
- XmlSchemaSimpleContent.cs
- Decorator.cs
- Vector3DAnimationUsingKeyFrames.cs
- WebEvents.cs
- COM2ColorConverter.cs
- DockingAttribute.cs
- OutputWindow.cs
- HeaderPanel.cs
- TransactionInterop.cs
- path.cs
- UriTemplateCompoundPathSegment.cs
- SimpleTableProvider.cs
- QueryContinueDragEvent.cs
- SqlConnectionFactory.cs
- ViewStateAttachedPropertyFeature.cs
- GrammarBuilderWildcard.cs
- StorageBasedPackageProperties.cs
- EmptyEnumerator.cs
- WebHttpBindingCollectionElement.cs
- WebPageTraceListener.cs
- DataSet.cs
- UserControl.cs
- ListViewEditEventArgs.cs
- GeometryModel3D.cs
- TraceContextRecord.cs
- TimeZoneNotFoundException.cs
- PolicyUtility.cs
- Timeline.cs
- StringKeyFrameCollection.cs
- BrowsableAttribute.cs
- RegexCompiler.cs
- ChangesetResponse.cs
- PropertyMap.cs
- SqlMethodCallConverter.cs
- SolidColorBrush.cs
- TemplatedWizardStep.cs
- RecognizerBase.cs
- VisualTarget.cs
- XmlQualifiedName.cs
- ConfigsHelper.cs
- BackgroundWorker.cs
- XmlCountingReader.cs
- ClientConfigurationSystem.cs
- ToolStripActionList.cs
- PrimitiveCodeDomSerializer.cs
- PathParser.cs
- DPTypeDescriptorContext.cs
- ArrayList.cs
- XPathNodeHelper.cs
- SemaphoreSlim.cs
- EdmToObjectNamespaceMap.cs
- DiscreteKeyFrames.cs
- PrimaryKeyTypeConverter.cs
- Facet.cs
- BasicExpandProvider.cs
- PostBackTrigger.cs
- PropertyConverter.cs
- ResXBuildProvider.cs
- DefaultValueAttribute.cs
- CompositeCollectionView.cs
- _SslStream.cs
- SessionSwitchEventArgs.cs
- NotSupportedException.cs
- PerformanceCounterPermissionEntry.cs
- DesignerCategoryAttribute.cs
- ApplicationContext.cs
- ChineseLunisolarCalendar.cs
- SqlException.cs
- InvokeMethodActivity.cs
- HuffCodec.cs
- CodeArgumentReferenceExpression.cs
- XmlQueryCardinality.cs
- Menu.cs
- ReliableSessionBindingElementImporter.cs
- TextInfo.cs
- ProcessModuleCollection.cs
- MarkupExtensionSerializer.cs
- SchemaNamespaceManager.cs
- ToolStripSystemRenderer.cs
- ConstantExpression.cs
- SR.cs
- MetaChildrenColumn.cs
- PropertyPath.cs
- DefaultCommandConverter.cs
- RoleService.cs
- DesignerAttribute.cs
- LinqDataSourceSelectEventArgs.cs
- PreviousTrackingServiceAttribute.cs
- XmlSchemaSimpleTypeList.cs
- OracleFactory.cs
- ErrorEventArgs.cs
- ParameterToken.cs
- NetSectionGroup.cs
- MimePart.cs
- PermissionRequestEvidence.cs
- ConnectionInterfaceCollection.cs
- XmlObjectSerializer.cs