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
- XmlResolver.cs
- QilParameter.cs
- SqlStream.cs
- DetailsView.cs
- ManualResetEvent.cs
- ZipIORawDataFileBlock.cs
- SmtpClient.cs
- DocumentsTrace.cs
- QueryExpr.cs
- cookieexception.cs
- ConfigXmlDocument.cs
- XmlSignificantWhitespace.cs
- AttributeEmitter.cs
- ButtonStandardAdapter.cs
- SQLBoolean.cs
- MetadataUtilsSmi.cs
- Currency.cs
- SqlBuilder.cs
- DataBindingCollection.cs
- BooleanAnimationBase.cs
- Function.cs
- WebCategoryAttribute.cs
- FormViewCommandEventArgs.cs
- NativeMethods.cs
- Object.cs
- BackgroundWorker.cs
- URLString.cs
- GPRECT.cs
- TemplateBindingExtension.cs
- ReferenceConverter.cs
- MethodImplAttribute.cs
- HttpsChannelListener.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- EnumerableCollectionView.cs
- EntityUtil.cs
- KeyValueSerializer.cs
- IdnMapping.cs
- DocComment.cs
- EnterpriseServicesHelper.cs
- PropertyEntry.cs
- StylusPointPropertyId.cs
- ExtensionQuery.cs
- ZipIOExtraFieldZip64Element.cs
- Bits.cs
- FormsAuthenticationTicket.cs
- CompoundFileStorageReference.cs
- ObjectQuery.cs
- dataprotectionpermission.cs
- GridItem.cs
- Vector3D.cs
- MsmqPoisonMessageException.cs
- DBParameter.cs
- ArraySubsetEnumerator.cs
- ListSortDescriptionCollection.cs
- Scene3D.cs
- TabRenderer.cs
- UInt32.cs
- GenericParameterDataContract.cs
- DataGridViewUtilities.cs
- URLAttribute.cs
- EdmConstants.cs
- UnmanagedMarshal.cs
- EntityDataSourceStatementEditor.cs
- TemplateApplicationHelper.cs
- ToolStripPanel.cs
- WmlLinkAdapter.cs
- ColumnMapCopier.cs
- ImpersonationContext.cs
- Pair.cs
- DynamicResourceExtension.cs
- DecimalFormatter.cs
- infer.cs
- ToolboxComponentsCreatedEventArgs.cs
- LocalizableAttribute.cs
- TableSectionStyle.cs
- MaterializeFromAtom.cs
- EntitySet.cs
- PropertyTabAttribute.cs
- LinkButton.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- ClosableStream.cs
- tooltip.cs
- SQLConvert.cs
- GenericRootAutomationPeer.cs
- lengthconverter.cs
- AttachedAnnotation.cs
- IResourceProvider.cs
- ToolboxItemCollection.cs
- PropertyEmitterBase.cs
- StylusEventArgs.cs
- Int64Storage.cs
- CompilerState.cs
- Image.cs
- Pkcs9Attribute.cs
- _ContextAwareResult.cs
- XsltOutput.cs
- PropertyInformation.cs
- TiffBitmapDecoder.cs
- AddInServer.cs
- TextParaLineResult.cs