Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MimeTypePropertyAttribute.cs
- TimeSpanOrInfiniteConverter.cs
- AssemblyAttributesGoHere.cs
- InkSerializer.cs
- DefaultValueAttribute.cs
- FontWeightConverter.cs
- ParallelEnumerable.cs
- LayoutInformation.cs
- ObjectDataSourceFilteringEventArgs.cs
- XmlJsonWriter.cs
- DocumentXmlWriter.cs
- KeyToListMap.cs
- TraceContext.cs
- PolyBezierSegment.cs
- Utils.cs
- SafeRightsManagementQueryHandle.cs
- ColorDialog.cs
- COM2IDispatchConverter.cs
- XmlSchemaComplexContentExtension.cs
- Select.cs
- MergeFilterQuery.cs
- BamlBinaryReader.cs
- BitVector32.cs
- LookupBindingPropertiesAttribute.cs
- SerializableTypeCodeDomSerializer.cs
- PathGradientBrush.cs
- SystemGatewayIPAddressInformation.cs
- OleDbInfoMessageEvent.cs
- SessionIDManager.cs
- XmlLinkedNode.cs
- BufferedOutputAsyncStream.cs
- AssertUtility.cs
- VarInfo.cs
- BaseProcessProtocolHandler.cs
- TypefaceCollection.cs
- _HTTPDateParse.cs
- ImageButton.cs
- CfgRule.cs
- CollectionTypeElement.cs
- BinarySerializer.cs
- AnnotationResource.cs
- WebPartAddingEventArgs.cs
- MemberRelationshipService.cs
- StatusBarItemAutomationPeer.cs
- StateMachineAction.cs
- LoadRetryConstantStrategy.cs
- Model3DGroup.cs
- OutputWindow.cs
- SchemaNotation.cs
- COMException.cs
- XmlSerializerVersionAttribute.cs
- HwndHostAutomationPeer.cs
- PrintDocument.cs
- ContractUtils.cs
- TextViewSelectionProcessor.cs
- SchemaNames.cs
- LowerCaseStringConverter.cs
- HttpRequestWrapper.cs
- Collection.cs
- SchemaManager.cs
- KoreanCalendar.cs
- XamlTreeBuilder.cs
- SoapReflectionImporter.cs
- QilScopedVisitor.cs
- HttpContext.cs
- MediaEntryAttribute.cs
- ByteStream.cs
- SequenceFullException.cs
- XamlToRtfWriter.cs
- RelationshipEndCollection.cs
- StringFunctions.cs
- ConnectorMovedEventArgs.cs
- DataBindingCollection.cs
- SapiGrammar.cs
- ECDiffieHellmanPublicKey.cs
- ImageCodecInfoPrivate.cs
- PathSegmentCollection.cs
- SpnEndpointIdentity.cs
- RawStylusInputReport.cs
- HttpRequestTraceRecord.cs
- DecoderFallback.cs
- EventItfInfo.cs
- DecimalAnimationBase.cs
- PointAnimationUsingPath.cs
- COM2PictureConverter.cs
- arabicshape.cs
- ISessionStateStore.cs
- PointConverter.cs
- XmlSchemaObject.cs
- SystemWebSectionGroup.cs
- FrameSecurityDescriptor.cs
- RSACryptoServiceProvider.cs
- CircleHotSpot.cs
- SqlReorderer.cs
- CorrelationTokenTypeConvertor.cs
- LeftCellWrapper.cs
- HttpWrapper.cs
- DependencyProperty.cs
- HwndProxyElementProvider.cs
- CodePropertyReferenceExpression.cs