Code:
/ 4.0 / 4.0 / untmp / 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. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PaginationProgressEventArgs.cs
- dsa.cs
- WebPartManagerInternals.cs
- TextEditorLists.cs
- WebPartMenu.cs
- X509SecurityTokenParameters.cs
- MarshalByRefObject.cs
- EdmFunctions.cs
- UrlMappingCollection.cs
- mda.cs
- SHA1CryptoServiceProvider.cs
- SafeProcessHandle.cs
- TableParaClient.cs
- InstanceNormalEvent.cs
- ObjectConverter.cs
- ProfileSettings.cs
- BoundField.cs
- VectorAnimation.cs
- CacheDict.cs
- ReadOnlyAttribute.cs
- AnnotationResourceChangedEventArgs.cs
- ArrangedElement.cs
- HtmlString.cs
- Journal.cs
- DrawingCollection.cs
- StylusPointPropertyUnit.cs
- UIElement3DAutomationPeer.cs
- SettingsAttributeDictionary.cs
- StorageModelBuildProvider.cs
- IChannel.cs
- FormsAuthenticationUser.cs
- COM2IDispatchConverter.cs
- KeyTime.cs
- ExtractorMetadata.cs
- ComponentDispatcher.cs
- ContainerFilterService.cs
- KeyValuePair.cs
- BezierSegment.cs
- RbTree.cs
- Odbc32.cs
- DbProviderFactoriesConfigurationHandler.cs
- Frame.cs
- TableItemPattern.cs
- ServerValidateEventArgs.cs
- SqlCacheDependencyDatabase.cs
- Duration.cs
- MexNamedPipeBindingElement.cs
- NavigationExpr.cs
- WebDescriptionAttribute.cs
- BuildProvider.cs
- ProtocolsConfigurationHandler.cs
- DateTimePicker.cs
- InputElement.cs
- AutoGeneratedField.cs
- RSAOAEPKeyExchangeDeformatter.cs
- CodeDesigner.cs
- StoreAnnotationsMap.cs
- InheritanceContextChangedEventManager.cs
- DeflateStream.cs
- GroupDescription.cs
- Polyline.cs
- FixedBufferAttribute.cs
- BaseParser.cs
- StateInitialization.cs
- CustomWebEventKey.cs
- SqlCacheDependencyDatabase.cs
- EntityDesignerUtils.cs
- Expressions.cs
- DbUpdateCommandTree.cs
- RecognizerBase.cs
- WarningException.cs
- XamlFigureLengthSerializer.cs
- Style.cs
- TextSelection.cs
- BitmapDownload.cs
- CollectionType.cs
- MdImport.cs
- AutomationTextAttribute.cs
- base64Transforms.cs
- CodeAssignStatement.cs
- HtmlInputControl.cs
- ConfigXmlComment.cs
- BaseHashHelper.cs
- Memoizer.cs
- WebSysDisplayNameAttribute.cs
- TypeSource.cs
- ReadOnlyAttribute.cs
- MultiTrigger.cs
- ReadOnlyPermissionSet.cs
- RankException.cs
- ModelService.cs
- DefaultTraceListener.cs
- SpeakCompletedEventArgs.cs
- Exceptions.cs
- CharKeyFrameCollection.cs
- FormViewModeEventArgs.cs
- PageMediaSize.cs
- BindingContext.cs
- ActionMismatchAddressingException.cs
- WebExceptionStatus.cs