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
- AspCompat.cs
- DataGridViewButtonCell.cs
- AssociationType.cs
- _TLSstream.cs
- TextRange.cs
- SymbolUsageManager.cs
- ManifestResourceInfo.cs
- IteratorDescriptor.cs
- Int16KeyFrameCollection.cs
- SqlMethodCallConverter.cs
- PublishLicense.cs
- OleDbInfoMessageEvent.cs
- _ShellExpression.cs
- ActivityBindForm.Designer.cs
- X509Utils.cs
- DataGridViewBand.cs
- DBSqlParserColumnCollection.cs
- InputMethodStateTypeInfo.cs
- DataException.cs
- SelectorItemAutomationPeer.cs
- LineMetrics.cs
- AssemblyInfo.cs
- BitArray.cs
- MobileResource.cs
- WebPartConnectionsConnectVerb.cs
- NativeDirectoryServicesQueryAPIs.cs
- CookieParameter.cs
- GetWinFXPath.cs
- XpsDigitalSignature.cs
- DataObjectEventArgs.cs
- SharedConnectionListener.cs
- TextServicesProperty.cs
- XmlSubtreeReader.cs
- TargetControlTypeCache.cs
- HandlerFactoryWrapper.cs
- PathFigureCollection.cs
- SchemaElementDecl.cs
- SettingsPropertyWrongTypeException.cs
- TemplateControlParser.cs
- HttpDictionary.cs
- Math.cs
- TreeNodeStyleCollection.cs
- MultiPageTextView.cs
- AmbientValueAttribute.cs
- MemoryMappedViewStream.cs
- FixedNode.cs
- TextRenderingModeValidation.cs
- CompiledQuery.cs
- Rect.cs
- ToolStripComboBox.cs
- DeferredElementTreeState.cs
- IResourceProvider.cs
- IndividualDeviceConfig.cs
- WinInet.cs
- TextBoxLine.cs
- InheritanceAttribute.cs
- WebPartDeleteVerb.cs
- IntSecurity.cs
- MessageQueuePermission.cs
- SoundPlayer.cs
- PathSegment.cs
- DEREncoding.cs
- HttpVersion.cs
- SamlNameIdentifierClaimResource.cs
- SpeechSeg.cs
- DataGrid.cs
- ConfigurationValues.cs
- OleStrCAMarshaler.cs
- ParenthesizePropertyNameAttribute.cs
- FontClient.cs
- Transform.cs
- CreateUserWizardStep.cs
- XmlAttributeAttribute.cs
- PrintControllerWithStatusDialog.cs
- DataGridViewComponentPropertyGridSite.cs
- TrackingQuery.cs
- Blend.cs
- TranslateTransform3D.cs
- SspiNegotiationTokenProvider.cs
- altserialization.cs
- Clipboard.cs
- UriSection.cs
- ExpressionDumper.cs
- Size.cs
- BitmapData.cs
- DynamicILGenerator.cs
- FunctionNode.cs
- CodeSnippetCompileUnit.cs
- DataGridItem.cs
- CodeDirectionExpression.cs
- StorageModelBuildProvider.cs
- TemplatedAdorner.cs
- TextLineResult.cs
- SelectedCellsChangedEventArgs.cs
- SelectionChangedEventArgs.cs
- CompiledRegexRunnerFactory.cs
- EventHandlersDesigner.cs
- PerspectiveCamera.cs
- SourceSwitch.cs
- IntranetCredentialPolicy.cs