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
- DbgCompiler.cs
- XmlSerializableWriter.cs
- TextUtf8RawTextWriter.cs
- DoubleKeyFrameCollection.cs
- TreeViewItem.cs
- CurrentChangingEventManager.cs
- ToolStripDesigner.cs
- TextTrailingCharacterEllipsis.cs
- AutomationPatternInfo.cs
- InvokeMethodActivityDesigner.cs
- ILGenerator.cs
- AppDomainShutdownMonitor.cs
- ItemAutomationPeer.cs
- _Win32.cs
- Utils.cs
- StateMachine.cs
- AuthorizationRuleCollection.cs
- GrammarBuilder.cs
- SaveFileDialog.cs
- MobileErrorInfo.cs
- HttpContextServiceHost.cs
- IdentityHolder.cs
- InfoCardRSACryptoProvider.cs
- BaseProcessor.cs
- DetailsViewInsertEventArgs.cs
- GridPatternIdentifiers.cs
- AutomationElement.cs
- TCEAdapterGenerator.cs
- BitmapEffectInput.cs
- DotAtomReader.cs
- sqlmetadatafactory.cs
- WorkflowLayouts.cs
- FontDriver.cs
- CodeBinaryOperatorExpression.cs
- DnsCache.cs
- ItemsPanelTemplate.cs
- ObjectToIdCache.cs
- XmlSchemaGroup.cs
- X509CertificateInitiatorServiceCredential.cs
- templategroup.cs
- FlowDecisionDesigner.xaml.cs
- OptimizerPatterns.cs
- SQLDateTime.cs
- MaskDescriptor.cs
- Perspective.cs
- ToolStripSplitStackLayout.cs
- DataObjectFieldAttribute.cs
- Scheduler.cs
- FrameworkElementFactory.cs
- Codec.cs
- ControlDesignerState.cs
- ControlBindingsCollection.cs
- WeakEventTable.cs
- BulletDecorator.cs
- JsonGlobals.cs
- filewebresponse.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- TaskFactory.cs
- EpmHelper.cs
- PersianCalendar.cs
- ProcessModuleDesigner.cs
- SafeFileMappingHandle.cs
- PasswordTextNavigator.cs
- KeyInfo.cs
- HtmlTableRowCollection.cs
- ConfigurationManagerHelperFactory.cs
- XmlUtf8RawTextWriter.cs
- BodyGlyph.cs
- DefaultSection.cs
- Transform.cs
- ToolStripHighContrastRenderer.cs
- DataGridViewAutoSizeModeEventArgs.cs
- FlowLayout.cs
- ConfigurationManagerInternal.cs
- ReadOnlyObservableCollection.cs
- EventLogPermissionEntryCollection.cs
- HandleCollector.cs
- CodeDOMProvider.cs
- CryptoKeySecurity.cs
- StaticExtension.cs
- QilReference.cs
- ISAPIApplicationHost.cs
- Int32AnimationUsingKeyFrames.cs
- ProfessionalColors.cs
- AssemblyResourceLoader.cs
- XmlQualifiedName.cs
- DbReferenceCollection.cs
- UniqueIdentifierService.cs
- SessionSwitchEventArgs.cs
- AlphaSortedEnumConverter.cs
- AsyncCompletedEventArgs.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- FormsAuthenticationEventArgs.cs
- PingOptions.cs
- WindowsClaimSet.cs
- SqlConnectionManager.cs
- StatusBarPanelClickEvent.cs
- RequestChannel.cs
- XmlDataSource.cs
- GeometryGroup.cs