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
- WebPartConnectVerb.cs
- SharedPerformanceCounter.cs
- SqlCacheDependencySection.cs
- LayoutUtils.cs
- SpeakInfo.cs
- FolderLevelBuildProvider.cs
- CodeCatchClauseCollection.cs
- ResourceWriter.cs
- IDReferencePropertyAttribute.cs
- TextTreeRootNode.cs
- TemplateNodeContextMenu.cs
- HMACSHA512.cs
- HtmlInputSubmit.cs
- RowVisual.cs
- TransformProviderWrapper.cs
- XmlSequenceWriter.cs
- ScrollViewerAutomationPeer.cs
- DataKey.cs
- ServiceCredentialsElement.cs
- PositiveTimeSpanValidator.cs
- XmlSchemas.cs
- MatchingStyle.cs
- AddingNewEventArgs.cs
- HttpCachePolicy.cs
- ListViewSelectEventArgs.cs
- ComponentChangedEvent.cs
- WmlObjectListAdapter.cs
- CreateSequenceResponse.cs
- FixedDocumentSequencePaginator.cs
- ResourceFallbackManager.cs
- XPathException.cs
- TemplateControlParser.cs
- GridViewCellAutomationPeer.cs
- Logging.cs
- ExceptionRoutedEventArgs.cs
- Selection.cs
- Point3DIndependentAnimationStorage.cs
- DesignerLinkAdapter.cs
- Util.cs
- ApplicationActivator.cs
- Converter.cs
- QueryOperationResponseOfT.cs
- ArrayConverter.cs
- Delegate.cs
- Renderer.cs
- NumberSubstitution.cs
- ConnectionPoint.cs
- StateChangeEvent.cs
- Asn1Utilities.cs
- SmiXetterAccessMap.cs
- ObjectQueryProvider.cs
- EdgeModeValidation.cs
- SqlRewriteScalarSubqueries.cs
- Console.cs
- Parameter.cs
- AggregateNode.cs
- StickyNoteHelper.cs
- ComAdminInterfaces.cs
- LineSegment.cs
- documentsequencetextcontainer.cs
- NativeMethods.cs
- GlobalizationAssembly.cs
- PublisherIdentityPermission.cs
- SerialReceived.cs
- WebPageTraceListener.cs
- VerticalAlignConverter.cs
- AudioLevelUpdatedEventArgs.cs
- PageStatePersister.cs
- HeaderedContentControl.cs
- RequestNavigateEventArgs.cs
- Pointer.cs
- FontClient.cs
- DataGridHeaderBorder.cs
- EventLogPermissionEntryCollection.cs
- EnumConverter.cs
- FacetEnabledSchemaElement.cs
- FileSecurity.cs
- ZipIOBlockManager.cs
- WpfWebRequestHelper.cs
- Error.cs
- Relationship.cs
- ExecutionContext.cs
- SystemShuttingDownException.cs
- HandoffBehavior.cs
- HeaderUtility.cs
- EntityDataSourceConfigureObjectContext.cs
- Sequence.cs
- SpeechEvent.cs
- XmlStringTable.cs
- FieldTemplateFactory.cs
- ColorConvertedBitmapExtension.cs
- XmlReflectionMember.cs
- backend.cs
- FixUpCollection.cs
- NativeMsmqMessage.cs
- InstalledFontCollection.cs
- DataColumnChangeEvent.cs
- TextEndOfSegment.cs
- TransactionOptions.cs
- DataGridViewTopLeftHeaderCell.cs