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
- PackageFilter.cs
- TextServicesDisplayAttribute.cs
- ObjectRef.cs
- UpdatePanelTriggerCollection.cs
- Label.cs
- RegionData.cs
- MexBindingBindingCollectionElement.cs
- WinCategoryAttribute.cs
- DictionaryEditChange.cs
- Exception.cs
- CachedBitmap.cs
- XPathItem.cs
- XmlWriterDelegator.cs
- Compilation.cs
- FillBehavior.cs
- SoapDocumentMethodAttribute.cs
- ProfileSettings.cs
- ScriptResourceInfo.cs
- SiteMapProvider.cs
- MetadataFile.cs
- ApplicationInfo.cs
- SelectionRangeConverter.cs
- ADConnectionHelper.cs
- FrameworkPropertyMetadata.cs
- recordstatescratchpad.cs
- DataTableNewRowEvent.cs
- HandleCollector.cs
- XPathPatternBuilder.cs
- GeometryGroup.cs
- DataColumnCollection.cs
- CompositeTypefaceMetrics.cs
- Profiler.cs
- PrinterResolution.cs
- TextBox.cs
- UshortList2.cs
- FileCodeGroup.cs
- DatatypeImplementation.cs
- CssClassPropertyAttribute.cs
- AudioFormatConverter.cs
- CustomError.cs
- Command.cs
- WSHttpBindingCollectionElement.cs
- RulePatternOps.cs
- PseudoWebRequest.cs
- Enlistment.cs
- EntityDataSourceReferenceGroup.cs
- TextTreeTextElementNode.cs
- BufferedReadStream.cs
- DataGridViewCellStyle.cs
- DependencyPropertyDescriptor.cs
- PageHandlerFactory.cs
- Atom10ItemFormatter.cs
- ScriptRegistrationManager.cs
- XmlNamespaceDeclarationsAttribute.cs
- ColorTransform.cs
- IDispatchConstantAttribute.cs
- ButtonChrome.cs
- TableStyle.cs
- path.cs
- XhtmlBasicFormAdapter.cs
- BooleanConverter.cs
- SqlClientPermission.cs
- GraphicsState.cs
- safelink.cs
- SocketElement.cs
- Color.cs
- PersonalizationEntry.cs
- AuthorizationContext.cs
- ScalarType.cs
- SpeakProgressEventArgs.cs
- Encoding.cs
- SelectedDatesCollection.cs
- ListViewItem.cs
- PrimitiveSchema.cs
- TaskHelper.cs
- StatusBarDrawItemEvent.cs
- OnOperation.cs
- SqlWriter.cs
- WindowsNonControl.cs
- XmlWrappingReader.cs
- DrawingGroupDrawingContext.cs
- SessionPageStateSection.cs
- DataGridViewAdvancedBorderStyle.cs
- Rectangle.cs
- SafeFileMappingHandle.cs
- FontResourceCache.cs
- ControlType.cs
- AssociationEndMember.cs
- ObjectListItem.cs
- OdbcConnectionHandle.cs
- DataTemplate.cs
- cache.cs
- ObjectSet.cs
- VersionedStreamOwner.cs
- NavigationWindow.cs
- Environment.cs
- ConfigurationManagerHelperFactory.cs
- FlowDocument.cs
- Win32Exception.cs
- StreamMarshaler.cs