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
- XamlBrushSerializer.cs
- IMembershipProvider.cs
- Color.cs
- SafeCryptoHandles.cs
- XhtmlStyleClass.cs
- MbpInfo.cs
- IdnElement.cs
- smtpconnection.cs
- DataSourceCache.cs
- JapaneseLunisolarCalendar.cs
- FileResponseElement.cs
- MessagePartDescription.cs
- OleStrCAMarshaler.cs
- ListManagerBindingsCollection.cs
- AnnouncementInnerClient11.cs
- ImportCatalogPart.cs
- FullTextLine.cs
- StringUtil.cs
- PublisherMembershipCondition.cs
- GPPOINT.cs
- ObjectListComponentEditor.cs
- GenericQueueSurrogate.cs
- CalendarDay.cs
- MimeBasePart.cs
- WebPartTransformer.cs
- UpdateException.cs
- ControlCollection.cs
- ThemeInfoAttribute.cs
- Keywords.cs
- versioninfo.cs
- IteratorDescriptor.cs
- SelectingProviderEventArgs.cs
- WebServiceClientProxyGenerator.cs
- ThousandthOfEmRealPoints.cs
- ColorPalette.cs
- ValueTable.cs
- ExceptionUtil.cs
- SettingsPropertyCollection.cs
- FillErrorEventArgs.cs
- FactoryId.cs
- SchemeSettingElement.cs
- StoreAnnotationsMap.cs
- DictionaryCustomTypeDescriptor.cs
- OleDbParameterCollection.cs
- ConnectivityStatus.cs
- WebResponse.cs
- MSAAEventDispatcher.cs
- LayoutUtils.cs
- AdornerLayer.cs
- UnaryNode.cs
- IdnMapping.cs
- XamlTypeMapper.cs
- XmlAnyElementAttributes.cs
- JsonGlobals.cs
- securitycriticaldata.cs
- QueryableFilterUserControl.cs
- HttpHandler.cs
- OracleBinary.cs
- Cursors.cs
- TimeStampChecker.cs
- newinstructionaction.cs
- ProtocolInformationReader.cs
- brushes.cs
- DesignerValidationSummaryAdapter.cs
- Publisher.cs
- UserNameSecurityToken.cs
- EntitySet.cs
- SwitchLevelAttribute.cs
- EditBehavior.cs
- MimeFormatter.cs
- FindCriteriaCD1.cs
- AnimationTimeline.cs
- SerializerProvider.cs
- newinstructionaction.cs
- ClockController.cs
- ValidationPropertyAttribute.cs
- CqlBlock.cs
- InheritedPropertyDescriptor.cs
- CheckBoxFlatAdapter.cs
- Baml2006SchemaContext.cs
- PackWebResponse.cs
- HistoryEventArgs.cs
- Keywords.cs
- InputScopeManager.cs
- DocumentOrderQuery.cs
- QueryOptionExpression.cs
- DependencyPropertyAttribute.cs
- CalculatedColumn.cs
- DataObject.cs
- GridViewDeleteEventArgs.cs
- HyperLink.cs
- InstancePersistenceContext.cs
- StringAttributeCollection.cs
- PropertySourceInfo.cs
- WebPartConnection.cs
- MgmtConfigurationRecord.cs
- ScriptingProfileServiceSection.cs
- PublisherMembershipCondition.cs
- Int32Rect.cs
- FixUp.cs