Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ServiceDocument.cs
- IIS7UserPrincipal.cs
- GridView.cs
- RangeValuePattern.cs
- SwitchElementsCollection.cs
- SafeRegistryHandle.cs
- TemplateBamlRecordReader.cs
- DLinqColumnProvider.cs
- KeyValuePairs.cs
- PatternMatcher.cs
- OdbcEnvironmentHandle.cs
- SynchronizedKeyedCollection.cs
- UIPropertyMetadata.cs
- WeakKeyDictionary.cs
- SqlNotificationRequest.cs
- SmiTypedGetterSetter.cs
- DesignerRegionMouseEventArgs.cs
- EntityDesignerBuildProvider.cs
- ReadOnlyPermissionSet.cs
- XMLSyntaxException.cs
- ProfileEventArgs.cs
- SiteMapSection.cs
- PublisherIdentityPermission.cs
- DriveInfo.cs
- SqlErrorCollection.cs
- X509SecurityTokenParameters.cs
- AssertFilter.cs
- FacetDescription.cs
- XsdDateTime.cs
- DataGridCaption.cs
- XmlObjectSerializerReadContext.cs
- MemberProjectionIndex.cs
- FixedTextView.cs
- CachedBitmap.cs
- MemoryFailPoint.cs
- TableRowGroup.cs
- XmlDsigSep2000.cs
- httpstaticobjectscollection.cs
- _Events.cs
- WebBaseEventKeyComparer.cs
- AccessibleObject.cs
- QuinticEase.cs
- SizeAnimationBase.cs
- TextEditorParagraphs.cs
- MSAANativeProvider.cs
- GridViewEditEventArgs.cs
- Point.cs
- MeasureItemEvent.cs
- EventListener.cs
- DocobjHost.cs
- IdentityNotMappedException.cs
- TextSpan.cs
- MasterPageCodeDomTreeGenerator.cs
- TextTrailingWordEllipsis.cs
- CharAnimationBase.cs
- Point3DIndependentAnimationStorage.cs
- ObjectSet.cs
- MULTI_QI.cs
- WebPartMenuStyle.cs
- ActivityTrace.cs
- DataBinder.cs
- ObjectItemAttributeAssemblyLoader.cs
- OleDbParameter.cs
- _NestedSingleAsyncResult.cs
- DelimitedListTraceListener.cs
- HttpResponseHeader.cs
- Animatable.cs
- WindowsImpersonationContext.cs
- WebPartTracker.cs
- EDesignUtil.cs
- BitConverter.cs
- SystemSounds.cs
- XmlHierarchyData.cs
- BaseDataBoundControlDesigner.cs
- ToolStripLocationCancelEventArgs.cs
- XmlReaderSettings.cs
- RadialGradientBrush.cs
- TaiwanCalendar.cs
- DataStreamFromComStream.cs
- SystemUdpStatistics.cs
- AutomationEvent.cs
- SafeNativeMethods.cs
- ProcessModule.cs
- __ConsoleStream.cs
- RewritingPass.cs
- GeneratedView.cs
- ReadingWritingEntityEventArgs.cs
- InternalTypeHelper.cs
- DatagridviewDisplayedBandsData.cs
- UriSection.cs
- FrameworkContextData.cs
- BookmarkUndoUnit.cs
- SID.cs
- RandomDelaySendsAsyncResult.cs
- HttpChannelListener.cs
- RequiredAttributeAttribute.cs
- Decoder.cs
- AppDomainUnloadedException.cs
- WebServiceBindingAttribute.cs
- DataGridViewDataConnection.cs