Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / CodeDOM / CodeCastExpression.cs / 1 / CodeCastExpression.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeCastExpression : CodeExpression { private CodeTypeReference targetType; private CodeExpression expression; ////// Represents a /// type cast expression. /// ////// public CodeCastExpression() { } ////// Initializes a new instance of ///. /// /// public CodeCastExpression(CodeTypeReference targetType, CodeExpression expression) { TargetType = targetType; Expression = expression; } ////// Initializes a new instance of ///using the specified /// parameters. /// /// public CodeCastExpression(string targetType, CodeExpression expression) { TargetType = new CodeTypeReference(targetType); Expression = expression; } ///[To be supplied.] ////// public CodeCastExpression(Type targetType, CodeExpression expression) { TargetType = new CodeTypeReference(targetType); Expression = expression; } ///[To be supplied.] ////// public CodeTypeReference TargetType { get { if (targetType == null) { targetType = new CodeTypeReference(""); } return targetType; } set { targetType = value; } } ////// The target type of the cast. /// ////// public CodeExpression Expression { get { return expression; } set { expression = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// The expression to cast. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeCastExpression : CodeExpression { private CodeTypeReference targetType; private CodeExpression expression; ////// Represents a /// type cast expression. /// ////// public CodeCastExpression() { } ////// Initializes a new instance of ///. /// /// public CodeCastExpression(CodeTypeReference targetType, CodeExpression expression) { TargetType = targetType; Expression = expression; } ////// Initializes a new instance of ///using the specified /// parameters. /// /// public CodeCastExpression(string targetType, CodeExpression expression) { TargetType = new CodeTypeReference(targetType); Expression = expression; } ///[To be supplied.] ////// public CodeCastExpression(Type targetType, CodeExpression expression) { TargetType = new CodeTypeReference(targetType); Expression = expression; } ///[To be supplied.] ////// public CodeTypeReference TargetType { get { if (targetType == null) { targetType = new CodeTypeReference(""); } return targetType; } set { targetType = value; } } ////// The target type of the cast. /// ////// public CodeExpression Expression { get { return expression; } set { expression = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// The expression to cast. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MiniParameterInfo.cs
- DrawingAttributeSerializer.cs
- DataGridViewRowConverter.cs
- MemoryRecordBuffer.cs
- IndentedWriter.cs
- LicenseProviderAttribute.cs
- odbcmetadatacolumnnames.cs
- EventSetterHandlerConverter.cs
- PasswordBox.cs
- WpfWebRequestHelper.cs
- WindowsFormsSynchronizationContext.cs
- COM2ColorConverter.cs
- FixedHyperLink.cs
- WindowsMenu.cs
- ReflectTypeDescriptionProvider.cs
- LocalServiceSecuritySettingsElement.cs
- DbProviderFactoriesConfigurationHandler.cs
- MetadataAssemblyHelper.cs
- LinqDataSourceUpdateEventArgs.cs
- MediaTimeline.cs
- Opcode.cs
- FontCacheLogic.cs
- AssemblyContextControlItem.cs
- SoapTypeAttribute.cs
- XpsDigitalSignature.cs
- OletxTransactionManager.cs
- PagesSection.cs
- HtmlPhoneCallAdapter.cs
- TablePatternIdentifiers.cs
- QueryCacheKey.cs
- PageBuildProvider.cs
- DynamicRenderer.cs
- IndexingContentUnit.cs
- InkPresenterAutomationPeer.cs
- PlainXmlDeserializer.cs
- Color.cs
- NextPreviousPagerField.cs
- XmlSchemaInclude.cs
- IOThreadScheduler.cs
- XmlSchemaElement.cs
- TextEditor.cs
- InstanceLockedException.cs
- DisableDpiAwarenessAttribute.cs
- ExpressionBindingCollection.cs
- ReverseInheritProperty.cs
- DesignerDataRelationship.cs
- LogWriteRestartAreaAsyncResult.cs
- LabelTarget.cs
- DesignerDataRelationship.cs
- GeometryDrawing.cs
- XmlCodeExporter.cs
- BindingExpressionBase.cs
- PixelShader.cs
- Object.cs
- FileRecordSequenceCompletedAsyncResult.cs
- Message.cs
- VScrollBar.cs
- CounterSample.cs
- Rectangle.cs
- XslAst.cs
- ObjectDataSourceMethodEventArgs.cs
- Line.cs
- ProcessHostServerConfig.cs
- ExtensionDataReader.cs
- WebPartConnectionsDisconnectVerb.cs
- GeneralTransformGroup.cs
- CompositeDataBoundControl.cs
- ViewLoader.cs
- CatalogZoneDesigner.cs
- CodePrimitiveExpression.cs
- Expr.cs
- EntityDataSourceView.cs
- SHA512Cng.cs
- Size3DValueSerializer.cs
- HtmlWindowCollection.cs
- Ray3DHitTestResult.cs
- NullNotAllowedCollection.cs
- DataGridViewComponentPropertyGridSite.cs
- DataViewListener.cs
- OdbcConnectionPoolProviderInfo.cs
- SystemIPv6InterfaceProperties.cs
- QuaternionAnimation.cs
- Documentation.cs
- SBCSCodePageEncoding.cs
- StringExpressionSet.cs
- CodeGotoStatement.cs
- BaseTemplateBuildProvider.cs
- ToolBar.cs
- InternalBase.cs
- fixedPageContentExtractor.cs
- SortedList.cs
- ReceiveSecurityHeaderElementManager.cs
- FormViewRow.cs
- QueryExpr.cs
- CompositeScriptReference.cs
- InfiniteTimeSpanConverter.cs
- SqlUDTStorage.cs
- ClonableStack.cs
- CriticalExceptions.cs
- Facet.cs