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
- SynchronizedInputPattern.cs
- ThemeDictionaryExtension.cs
- WorkflowPageSetupDialog.cs
- ConnectionConsumerAttribute.cs
- MemberInfoSerializationHolder.cs
- DesignerView.cs
- ProviderSettingsCollection.cs
- CellTreeNode.cs
- MouseActionConverter.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- FlowNode.cs
- SqlTopReducer.cs
- input.cs
- TerminatingOperationBehavior.cs
- NativeCppClassAttribute.cs
- JavaScriptSerializer.cs
- Size3DValueSerializer.cs
- MissingSatelliteAssemblyException.cs
- util.cs
- GridViewDeleteEventArgs.cs
- Shared.cs
- HostingEnvironmentException.cs
- GeneralTransform3DTo2D.cs
- ViewPort3D.cs
- VectorConverter.cs
- namescope.cs
- LinkedResource.cs
- InputLangChangeEvent.cs
- SoapSchemaImporter.cs
- AssemblyNameUtility.cs
- EventProxy.cs
- NativeRecognizer.cs
- TemplatedWizardStep.cs
- AuthenticationConfig.cs
- DataSource.cs
- ItemCheckedEvent.cs
- HttpsHostedTransportConfiguration.cs
- SrgsOneOf.cs
- Matrix3D.cs
- KeyInterop.cs
- RawStylusSystemGestureInputReport.cs
- SettingsSection.cs
- SourceSwitch.cs
- BehaviorEditorPart.cs
- Page.cs
- EventLogConfiguration.cs
- ParameterModifier.cs
- PolicyManager.cs
- QuaternionAnimation.cs
- RequestCache.cs
- EventMap.cs
- DataSourceProvider.cs
- XmlHierarchicalEnumerable.cs
- ChtmlTextWriter.cs
- SerializationAttributes.cs
- Substitution.cs
- SecurityCookieModeValidator.cs
- WindowHideOrCloseTracker.cs
- SmtpNetworkElement.cs
- XmlDictionaryString.cs
- NameSpaceExtractor.cs
- DesignerActionList.cs
- DataColumnCollection.cs
- Ticks.cs
- GeneralTransform2DTo3DTo2D.cs
- objectresult_tresulttype.cs
- MinMaxParagraphWidth.cs
- XamlHostingSectionGroup.cs
- NetTcpSecurityElement.cs
- PositiveTimeSpanValidatorAttribute.cs
- XNodeNavigator.cs
- RenderOptions.cs
- TextProperties.cs
- CqlIdentifiers.cs
- FindCriteriaCD1.cs
- ImageList.cs
- OrderByBuilder.cs
- IPAddressCollection.cs
- WebPartActionVerb.cs
- BooleanKeyFrameCollection.cs
- RegexWriter.cs
- SerializationHelper.cs
- ExpressionCopier.cs
- DateTimeConverter.cs
- XmlEnumAttribute.cs
- CompressStream.cs
- RbTree.cs
- SqlDataSourceQueryEditorForm.cs
- SmtpReplyReaderFactory.cs
- WebBrowserEvent.cs
- DataGridDesigner.cs
- ObjectDataSourceFilteringEventArgs.cs
- StorageInfo.cs
- StylusPlugin.cs
- InkSerializer.cs
- QueryCacheEntry.cs
- DataControlImageButton.cs
- ProjectionCamera.cs
- DefaultSection.cs
- LinqDataSourceView.cs