Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Vector.cs
- ApplicationHost.cs
- MenuItemStyle.cs
- FontUnit.cs
- Evidence.cs
- sortedlist.cs
- ToolStripLabel.cs
- OutOfMemoryException.cs
- GradientStop.cs
- CompilationRelaxations.cs
- ConfigurationValidatorBase.cs
- IPEndPoint.cs
- MtomMessageEncodingBindingElement.cs
- ScaleTransform3D.cs
- EditorOptionAttribute.cs
- SpotLight.cs
- HandleCollector.cs
- PageAdapter.cs
- BitStream.cs
- XD.cs
- DateTimeConstantAttribute.cs
- FolderLevelBuildProvider.cs
- ElementFactory.cs
- XmlSerializer.cs
- CachedFontFace.cs
- ListViewGroup.cs
- AdjustableArrowCap.cs
- ToolStripSplitButton.cs
- ObjectListDesigner.cs
- StringUtil.cs
- ComPlusAuthorization.cs
- TypefaceMetricsCache.cs
- SecurityRuntime.cs
- BeginCreateSecurityTokenRequest.cs
- PropertyChangingEventArgs.cs
- GACMembershipCondition.cs
- xsdvalidator.cs
- ClosableStream.cs
- UrlPropertyAttribute.cs
- XmlSchemaCompilationSettings.cs
- DeclarativeExpressionConditionDeclaration.cs
- OleTxTransaction.cs
- DictationGrammar.cs
- DbConnectionClosed.cs
- Int32Converter.cs
- WriteStateInfoBase.cs
- GridViewUpdateEventArgs.cs
- Model3D.cs
- ActivityIdHeader.cs
- EtwTrackingParticipant.cs
- XpsPartBase.cs
- DelimitedListTraceListener.cs
- HTTPNotFoundHandler.cs
- DataControlPagerLinkButton.cs
- ToolStripSystemRenderer.cs
- BamlRecordHelper.cs
- DbXmlEnabledProviderManifest.cs
- ExtendedPropertyCollection.cs
- BitmapEffect.cs
- LineVisual.cs
- SecurityKeyUsage.cs
- Propagator.JoinPropagator.cs
- Rectangle.cs
- Mappings.cs
- WrapPanel.cs
- _AutoWebProxyScriptHelper.cs
- StreamInfo.cs
- DataContract.cs
- IndentedTextWriter.cs
- GridViewUpdatedEventArgs.cs
- Hashtable.cs
- QueryableDataSourceEditData.cs
- Rotation3D.cs
- TypedElement.cs
- NotifyIcon.cs
- Environment.cs
- ListViewDeleteEventArgs.cs
- EventLogPermissionEntry.cs
- JournalEntryListConverter.cs
- PointAnimation.cs
- XmlNode.cs
- DbConnectionPool.cs
- DataSetSchema.cs
- EmptyEnumerable.cs
- Point3DValueSerializer.cs
- SafePointer.cs
- NetTcpBindingElement.cs
- CSharpCodeProvider.cs
- BoolExpr.cs
- MemberDomainMap.cs
- FlatButtonAppearance.cs
- CqlGenerator.cs
- XPathAxisIterator.cs
- HtmlProps.cs
- TextBoxBase.cs
- DataGridViewTopLeftHeaderCell.cs
- Pen.cs
- DataGridCellItemAutomationPeer.cs
- Image.cs
- HistoryEventArgs.cs