Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeCastExpression.cs / 1305376 / CodeCastExpression.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- FormViewDeletedEventArgs.cs
- UnSafeCharBuffer.cs
- HttpListenerRequest.cs
- LineServicesRun.cs
- ProcessHost.cs
- ProtectedProviderSettings.cs
- NotifyInputEventArgs.cs
- PropertyFilterAttribute.cs
- Interlocked.cs
- JoinTreeNode.cs
- EntityDataSourceContextCreatedEventArgs.cs
- Span.cs
- TextDecoration.cs
- MessageSecurityProtocol.cs
- VectorKeyFrameCollection.cs
- MsmqIntegrationProcessProtocolHandler.cs
- PreservationFileReader.cs
- WebResourceAttribute.cs
- Drawing.cs
- ExtendedTransformFactory.cs
- ParameterCollection.cs
- UnsafePeerToPeerMethods.cs
- xdrvalidator.cs
- MultiAsyncResult.cs
- DependencyProperty.cs
- SoapReflectionImporter.cs
- FormsAuthenticationCredentials.cs
- IncrementalReadDecoders.cs
- NameObjectCollectionBase.cs
- AdPostCacheSubstitution.cs
- LocalizeDesigner.cs
- FileStream.cs
- BasicViewGenerator.cs
- SecurityVerifiedMessage.cs
- EventHandlersDesigner.cs
- SetState.cs
- CodeStatementCollection.cs
- TemplateLookupAction.cs
- Decimal.cs
- ToolZone.cs
- assemblycache.cs
- AudioFileOut.cs
- SiteMapNode.cs
- ReflectionUtil.cs
- DataView.cs
- TemplateManager.cs
- SQLSingleStorage.cs
- PropVariant.cs
- MethodImplAttribute.cs
- ComPlusDiagnosticTraceRecords.cs
- VerificationException.cs
- OciHandle.cs
- ListViewCommandEventArgs.cs
- TypefaceCollection.cs
- HttpListenerPrefixCollection.cs
- ClockController.cs
- TdsParameterSetter.cs
- StylusPointPropertyInfoDefaults.cs
- ImageInfo.cs
- HtmlInputPassword.cs
- RoutingChannelExtension.cs
- TabItemWrapperAutomationPeer.cs
- DetailsViewDeleteEventArgs.cs
- BufferedStream.cs
- Clause.cs
- DataGridViewComboBoxCell.cs
- InstanceKey.cs
- XmlSerializerVersionAttribute.cs
- LogicalExpr.cs
- ErrorProvider.cs
- UnsafeNativeMethods.cs
- FieldMetadata.cs
- LocationUpdates.cs
- RootBuilder.cs
- OrderingQueryOperator.cs
- StickyNoteContentControl.cs
- Transactions.cs
- BlobPersonalizationState.cs
- SmiSettersStream.cs
- CodeCompiler.cs
- XomlCompilerHelpers.cs
- HashJoinQueryOperatorEnumerator.cs
- ExtendedProtectionPolicy.cs
- WindowsStatusBar.cs
- RightsManagementEncryptedStream.cs
- RunInstallerAttribute.cs
- Activity.cs
- SQLSingle.cs
- TextSpanModifier.cs
- FileDialogPermission.cs
- EdmFunctions.cs
- AesCryptoServiceProvider.cs
- CodeDomSerializer.cs
- path.cs
- HashCodeCombiner.cs
- DataSourceNameHandler.cs
- CharEnumerator.cs
- DesignerVerbCollection.cs
- PrimitiveDataContract.cs
- SslStream.cs