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
- precedingquery.cs
- BindingNavigatorDesigner.cs
- SiteMapHierarchicalDataSourceView.cs
- PathSegmentCollection.cs
- XPathNodeInfoAtom.cs
- DigestTraceRecordHelper.cs
- GridViewAutoFormat.cs
- Point4D.cs
- DbgUtil.cs
- TraceLevelStore.cs
- CqlQuery.cs
- Transform3DCollection.cs
- DataTableMapping.cs
- MetadataExporter.cs
- IxmlLineInfo.cs
- ClientConfigurationHost.cs
- WriteFileContext.cs
- HttpApplication.cs
- CompilationLock.cs
- ColumnMap.cs
- PseudoWebRequest.cs
- ExpandedWrapper.cs
- EnumConverter.cs
- PerformanceCounterCategory.cs
- Trustee.cs
- XmlSchemas.cs
- SimpleWorkerRequest.cs
- HMACSHA256.cs
- PersonalizationProviderCollection.cs
- ApplicationSecurityInfo.cs
- SimpleBitVector32.cs
- Int32Storage.cs
- SqlDataSourceView.cs
- OutputCacheModule.cs
- StrokeDescriptor.cs
- UpdateCommand.cs
- TextSpan.cs
- PeerPresenceInfo.cs
- WebPermission.cs
- RectValueSerializer.cs
- AspCompat.cs
- PassportAuthentication.cs
- PathFigureCollectionValueSerializer.cs
- ResourceWriter.cs
- PngBitmapEncoder.cs
- TitleStyle.cs
- BaseHashHelper.cs
- ViewStateAttachedPropertyFeature.cs
- EntitySetDataBindingList.cs
- _SslSessionsCache.cs
- PackageRelationship.cs
- LogicalExpr.cs
- ItemList.cs
- BufferedStream.cs
- DocumentAutomationPeer.cs
- EventSinkHelperWriter.cs
- TypeConverterBase.cs
- NonceCache.cs
- ManifestResourceInfo.cs
- DoubleLinkListEnumerator.cs
- SchemaCreator.cs
- DataGridViewDataErrorEventArgs.cs
- OperationInvokerTrace.cs
- WebReferencesBuildProvider.cs
- ServiceContractGenerator.cs
- ControlTemplate.cs
- MsmqIntegrationOutputChannel.cs
- ConstructorArgumentAttribute.cs
- TriggerActionCollection.cs
- SafeSecurityHelper.cs
- arabicshape.cs
- BadImageFormatException.cs
- DataTableMappingCollection.cs
- UnsafeNativeMethods.cs
- LoginCancelEventArgs.cs
- QuadTree.cs
- SelectionService.cs
- DeploymentSectionCache.cs
- NewArrayExpression.cs
- FactoryGenerator.cs
- HierarchicalDataBoundControlAdapter.cs
- SymbolEqualComparer.cs
- OleDbInfoMessageEvent.cs
- MenuEventArgs.cs
- DbDataAdapter.cs
- PackageFilter.cs
- CodeMemberMethod.cs
- LinqDataSourceStatusEventArgs.cs
- CodeTypeDeclaration.cs
- FrameworkElement.cs
- ToolStripKeyboardHandlingService.cs
- HierarchicalDataSourceControl.cs
- TargetPerspective.cs
- BindingMemberInfo.cs
- WindowsGrip.cs
- EarlyBoundInfo.cs
- CatalogPartChrome.cs
- RuleSettings.cs
- VBIdentifierNameEditor.cs
- serverconfig.cs