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
- RSACryptoServiceProvider.cs
- SqlBulkCopy.cs
- ComponentResourceKeyConverter.cs
- CommandPlan.cs
- DataFieldConverter.cs
- NativeMethods.cs
- _SingleItemRequestCache.cs
- DeleteBookmarkScope.cs
- RecognizedWordUnit.cs
- RelOps.cs
- ListenerChannelContext.cs
- NamedPipeProcessProtocolHandler.cs
- TableRowCollection.cs
- Drawing.cs
- RowVisual.cs
- WeakReference.cs
- IdentityModelDictionary.cs
- Cursors.cs
- SharedUtils.cs
- ScriptResourceHandler.cs
- Screen.cs
- Enum.cs
- Ppl.cs
- PolygonHotSpot.cs
- QuerySafeNavigator.cs
- WpfWebRequestHelper.cs
- Int16Converter.cs
- TableCell.cs
- MemberHolder.cs
- InkCanvasSelection.cs
- _Semaphore.cs
- RawStylusSystemGestureInputReport.cs
- RectangleGeometry.cs
- XsltException.cs
- PromptBuilder.cs
- SerializationStore.cs
- HeaderUtility.cs
- HttpConfigurationContext.cs
- SimpleHandlerFactory.cs
- Menu.cs
- KeyConverter.cs
- Margins.cs
- DesigntimeLicenseContextSerializer.cs
- Transform3D.cs
- NetStream.cs
- SafeNativeMethodsOther.cs
- TextSchema.cs
- PanningMessageFilter.cs
- entitydatasourceentitysetnameconverter.cs
- PermissionSetTriple.cs
- HtmlInputText.cs
- ContentPlaceHolder.cs
- OdbcEnvironmentHandle.cs
- FastPropertyAccessor.cs
- SafeHandles.cs
- ListCardsInFileRequest.cs
- WindowInteropHelper.cs
- XmlnsDefinitionAttribute.cs
- NestedContainer.cs
- WebBrowserSiteBase.cs
- SelectionProviderWrapper.cs
- GroupBoxAutomationPeer.cs
- WebPartsPersonalizationAuthorization.cs
- ForceCopyBuildProvider.cs
- SelectorAutomationPeer.cs
- GeneralTransform.cs
- CookieParameter.cs
- DefaultPrintController.cs
- GeometryValueSerializer.cs
- ViewEvent.cs
- SafeBitVector32.cs
- VariantWrapper.cs
- TemplateControlCodeDomTreeGenerator.cs
- RegistryKey.cs
- EventLogEntryCollection.cs
- ScaleTransform.cs
- StatusBarItem.cs
- DistributedTransactionPermission.cs
- PrintDialog.cs
- WebSysDefaultValueAttribute.cs
- ChangeInterceptorAttribute.cs
- ContentOperations.cs
- CreateUserWizardStep.cs
- SubpageParaClient.cs
- HtmlInputControl.cs
- ForeignKeyFactory.cs
- SQLInt64Storage.cs
- TextLineBreak.cs
- HttpContext.cs
- PagedDataSource.cs
- InheritanceAttribute.cs
- HMAC.cs
- QueryPageSettingsEventArgs.cs
- OverflowException.cs
- IIS7WorkerRequest.cs
- DataObjectPastingEventArgs.cs
- MetadataSerializer.cs
- TextDecorationUnitValidation.cs
- UnknownWrapper.cs
- XdrBuilder.cs