Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ReadOnlyObservableCollection.cs
- HierarchicalDataBoundControlAdapter.cs
- XmlMemberMapping.cs
- InternalPermissions.cs
- DataObjectPastingEventArgs.cs
- PolyLineSegment.cs
- ScrollProviderWrapper.cs
- ShaperBuffers.cs
- AudioStateChangedEventArgs.cs
- ListControlBoundActionList.cs
- CombinedGeometry.cs
- ObjectDataSourceFilteringEventArgs.cs
- DependencyPropertyKind.cs
- FileRegion.cs
- ConversionContext.cs
- ADRoleFactoryConfiguration.cs
- ObjectListTitleAttribute.cs
- PageStatePersister.cs
- BaseProcessor.cs
- TypeDescriptionProviderAttribute.cs
- ControlPaint.cs
- ExpressionEditorAttribute.cs
- SamlNameIdentifierClaimResource.cs
- altserialization.cs
- AtomMaterializerLog.cs
- ChildTable.cs
- MailWebEventProvider.cs
- AssociationTypeEmitter.cs
- XmlNodeChangedEventManager.cs
- CoordinationService.cs
- SettingsPropertyCollection.cs
- SolidColorBrush.cs
- InstanceDataCollection.cs
- DisposableCollectionWrapper.cs
- DbQueryCommandTree.cs
- ExpressionBuilder.cs
- PageOutputColor.cs
- TransmissionStrategy.cs
- CompilerHelpers.cs
- CatchBlock.cs
- CommonRemoteMemoryBlock.cs
- GeometryValueSerializer.cs
- BaseUriHelper.cs
- TypefaceCollection.cs
- Queue.cs
- Stacktrace.cs
- SafeNativeMethods.cs
- SqlXml.cs
- Trace.cs
- ConfigXmlElement.cs
- ExcCanonicalXml.cs
- ResolveNameEventArgs.cs
- DataGridViewCellCancelEventArgs.cs
- SqlExpander.cs
- AssemblyFilter.cs
- RoleGroupCollection.cs
- PartitionResolver.cs
- DataGrid.cs
- GridViewCellAutomationPeer.cs
- ExtendedPropertyCollection.cs
- NewExpression.cs
- ReadingWritingEntityEventArgs.cs
- XhtmlTextWriter.cs
- BindingManagerDataErrorEventArgs.cs
- EmissiveMaterial.cs
- WebSysDescriptionAttribute.cs
- DataProtectionSecurityStateEncoder.cs
- TerminateSequenceResponse.cs
- AuthorizationSection.cs
- WebServiceClientProxyGenerator.cs
- SoapTypeAttribute.cs
- CellRelation.cs
- Region.cs
- IDictionary.cs
- ConstructorBuilder.cs
- SessionState.cs
- SizeChangedEventArgs.cs
- HtmlValidationSummaryAdapter.cs
- MissingFieldException.cs
- BindingCompleteEventArgs.cs
- ObjectSet.cs
- UrlParameterReader.cs
- ListBindingHelper.cs
- RadioButtonList.cs
- PerformanceCounterLib.cs
- WindowsPrincipal.cs
- ErrorWrapper.cs
- CurrencyWrapper.cs
- SocketException.cs
- _ListenerResponseStream.cs
- ServiceHttpModule.cs
- TextEffectResolver.cs
- VarRemapper.cs
- HttpApplicationFactory.cs
- AssemblyAssociatedContentFileAttribute.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- MetadataItemCollectionFactory.cs
- ValidatorCollection.cs
- StreamGeometry.cs
- ChannelPoolSettingsElement.cs