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
- Point3DCollectionValueSerializer.cs
- AuthenticationException.cs
- SchemaImporterExtension.cs
- TraceHelpers.cs
- DateTimeConstantAttribute.cs
- DependencyObjectValidator.cs
- HexParser.cs
- AliasGenerator.cs
- WsatExtendedInformation.cs
- DataGridViewHeaderCell.cs
- OpCopier.cs
- ValidatorCompatibilityHelper.cs
- OracleFactory.cs
- _ChunkParse.cs
- MemberInfoSerializationHolder.cs
- DataGridViewColumnConverter.cs
- GlyphRunDrawing.cs
- SecurityContextKeyIdentifierClause.cs
- MobileComponentEditorPage.cs
- PluralizationServiceUtil.cs
- KeyedCollection.cs
- MouseButtonEventArgs.cs
- ProfileInfo.cs
- SRef.cs
- BitConverter.cs
- ContentPlaceHolder.cs
- SafeBitVector32.cs
- DoubleCollectionConverter.cs
- MetadataCacheItem.cs
- GenericIdentity.cs
- DataGridTablesFactory.cs
- CompoundFileIOPermission.cs
- webclient.cs
- ColorContext.cs
- TextCollapsingProperties.cs
- TextServicesCompartment.cs
- DataGridViewCellLinkedList.cs
- Number.cs
- Camera.cs
- IPAddressCollection.cs
- NodeCounter.cs
- AttachedAnnotationChangedEventArgs.cs
- PageParser.cs
- FocusWithinProperty.cs
- embossbitmapeffect.cs
- ClientOptions.cs
- AutomationProperties.cs
- Native.cs
- XComponentModel.cs
- EffectiveValueEntry.cs
- ExpressionBuilder.cs
- ByteStream.cs
- Size.cs
- CombinedGeometry.cs
- TransformBlockRequest.cs
- ServiceObjectContainer.cs
- PhysicalAddress.cs
- OracleRowUpdatedEventArgs.cs
- SecurityDocument.cs
- MaskDesignerDialog.cs
- GeometryCollection.cs
- ItemCollectionEditor.cs
- BaseParser.cs
- ConfigXmlElement.cs
- ErrorFormatter.cs
- DrawingVisual.cs
- DbXmlEnabledProviderManifest.cs
- ImagingCache.cs
- ObjectParameterCollection.cs
- SetStateEventArgs.cs
- JsonObjectDataContract.cs
- LayoutEngine.cs
- RemotingConfigParser.cs
- SessionEndedEventArgs.cs
- DataGridCommandEventArgs.cs
- UiaCoreApi.cs
- SharedStream.cs
- DynamicResourceExtension.cs
- LineMetrics.cs
- JsonQNameDataContract.cs
- DataGridViewCellValidatingEventArgs.cs
- FixedElement.cs
- HostedHttpTransportManager.cs
- DataGridToolTip.cs
- FormViewUpdatedEventArgs.cs
- X509Certificate2.cs
- MimeReturn.cs
- SuppressMergeCheckAttribute.cs
- LZCodec.cs
- MouseActionValueSerializer.cs
- PrivilegeNotHeldException.cs
- Delegate.cs
- MailAddressParser.cs
- SymbolMethod.cs
- SharedConnectionInfo.cs
- RequestTimeoutManager.cs
- FixedTextContainer.cs
- AnnotationService.cs
- xml.cs
- UIElementParaClient.cs