Code:
/ DotNET / DotNET / 8.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
- ThemeableAttribute.cs
- PrintingPermissionAttribute.cs
- HostingEnvironmentSection.cs
- smtppermission.cs
- PersistenceException.cs
- RootDesignerSerializerAttribute.cs
- WorkflowMarkupSerializerMapping.cs
- ObjectStateFormatter.cs
- QueryStringParameter.cs
- TransformerInfo.cs
- CodeDelegateInvokeExpression.cs
- UInt64Converter.cs
- ComponentManagerBroker.cs
- Rectangle.cs
- FrameworkElement.cs
- CLRBindingWorker.cs
- DES.cs
- FormatterConverter.cs
- RequestQueue.cs
- smtpconnection.cs
- _LazyAsyncResult.cs
- TextEncodedRawTextWriter.cs
- LayoutDump.cs
- KeyFrames.cs
- ValidatorCompatibilityHelper.cs
- DataException.cs
- RuntimeResourceSet.cs
- MetadataStore.cs
- RegexGroup.cs
- Console.cs
- ToolStripPanelRow.cs
- ResolveMatchesMessageCD1.cs
- OutputCacheProviderCollection.cs
- MimeFormImporter.cs
- OdbcInfoMessageEvent.cs
- HttpFileCollection.cs
- PointAnimationClockResource.cs
- TdsEnums.cs
- TableCellCollection.cs
- ExpressionWriter.cs
- LineServicesCallbacks.cs
- TemplateNameScope.cs
- NamespaceEmitter.cs
- HttpTransportSecurityElement.cs
- IIS7WorkerRequest.cs
- ShaderEffect.cs
- Point3DValueSerializer.cs
- MenuItemStyle.cs
- RoleGroupCollection.cs
- ZipArchive.cs
- HotSpot.cs
- OracleConnectionFactory.cs
- NumberSubstitution.cs
- UpdatePanelTrigger.cs
- GridEntryCollection.cs
- SortAction.cs
- VectorAnimation.cs
- DeferredReference.cs
- MailMessageEventArgs.cs
- ClientBuildManagerCallback.cs
- PageFunction.cs
- ButtonField.cs
- SoapCodeExporter.cs
- GuidConverter.cs
- RenderContext.cs
- TextHidden.cs
- AutomationIdentifier.cs
- CustomTokenProvider.cs
- CultureData.cs
- ISAPIRuntime.cs
- StrokeNodeEnumerator.cs
- SoapIncludeAttribute.cs
- DecimalConstantAttribute.cs
- PropertyGeneratedEventArgs.cs
- DesignerSerializationVisibilityAttribute.cs
- objectresult_tresulttype.cs
- AutoGeneratedFieldProperties.cs
- FontFamilyIdentifier.cs
- TaskScheduler.cs
- BeginStoryboard.cs
- ErrorStyle.cs
- FixedElement.cs
- EventWaitHandleSecurity.cs
- RootBuilder.cs
- Metafile.cs
- StreamingContext.cs
- TextTreePropertyUndoUnit.cs
- TemplatePartAttribute.cs
- PrintPreviewGraphics.cs
- ArrayElementGridEntry.cs
- SqlUdtInfo.cs
- Properties.cs
- validationstate.cs
- TreeView.cs
- BaseAddressElement.cs
- DataSourceCache.cs
- SystemInfo.cs
- JapaneseLunisolarCalendar.cs
- WebPartConnectionsEventArgs.cs
- StandardToolWindows.cs