Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }/// The expression to cast. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SecureStringHasher.cs
- MetadataPropertyCollection.cs
- TypeConverterHelper.cs
- XmlSchemaType.cs
- DataGridViewCellStyleChangedEventArgs.cs
- UIElement.cs
- MissingManifestResourceException.cs
- TextSpanModifier.cs
- ClientSponsor.cs
- TdsParserSessionPool.cs
- Operand.cs
- RoleGroup.cs
- SqlConnectionManager.cs
- KerberosTicketHashIdentifierClause.cs
- ProfileGroupSettings.cs
- SystemColorTracker.cs
- IntegerValidatorAttribute.cs
- PageRanges.cs
- WindowsComboBox.cs
- WmlValidatorAdapter.cs
- EventRouteFactory.cs
- EmbeddedMailObjectsCollection.cs
- OracleParameter.cs
- TextTreeExtractElementUndoUnit.cs
- XmlAttribute.cs
- MemberDescriptor.cs
- ComplexPropertyEntry.cs
- UxThemeWrapper.cs
- TextBoxRenderer.cs
- RuleElement.cs
- FixedSOMPage.cs
- InlineCollection.cs
- Attributes.cs
- ReceiveSecurityHeaderEntry.cs
- WindowsListViewGroup.cs
- Context.cs
- XmlAnyElementAttribute.cs
- Color.cs
- XmlSchemaComplexContentRestriction.cs
- Vector3DAnimation.cs
- Message.cs
- MultiBindingExpression.cs
- HtmlInputCheckBox.cs
- DataColumnMapping.cs
- OverrideMode.cs
- SecondaryIndexDefinition.cs
- NavigationPropertyEmitter.cs
- BindingCollection.cs
- SafeProcessHandle.cs
- GeneralTransform3DTo2DTo3D.cs
- PixelFormat.cs
- SelectionProviderWrapper.cs
- CapabilitiesAssignment.cs
- ErrorInfoXmlDocument.cs
- RotateTransform3D.cs
- ComplexTypeEmitter.cs
- Interfaces.cs
- UndoManager.cs
- SqlReferenceCollection.cs
- DataErrorValidationRule.cs
- Int32.cs
- CompilationRelaxations.cs
- ThreadInterruptedException.cs
- EdmItemCollection.OcAssemblyCache.cs
- ExtendedProperty.cs
- ButtonAutomationPeer.cs
- UseLicense.cs
- HttpContext.cs
- MessageBox.cs
- DropShadowBitmapEffect.cs
- MailDefinition.cs
- RelationshipType.cs
- EntityDataSourceColumn.cs
- SafeArrayRankMismatchException.cs
- DataSourceSelectArguments.cs
- StoreItemCollection.Loader.cs
- MenuItem.cs
- InfoCardBinaryReader.cs
- OptimisticConcurrencyException.cs
- DataGridParentRows.cs
- SHA1CryptoServiceProvider.cs
- ControlDesigner.cs
- ZipIOLocalFileHeader.cs
- IdentitySection.cs
- Stacktrace.cs
- ColorPalette.cs
- DispatcherExceptionFilterEventArgs.cs
- Misc.cs
- ProgressBar.cs
- GridViewHeaderRowPresenter.cs
- TextTreeTextNode.cs
- SecurityException.cs
- TrackingAnnotationCollection.cs
- BackgroundFormatInfo.cs
- UriParserTemplates.cs
- SqlConnectionPoolProviderInfo.cs
- WsdlParser.cs
- DataGridViewColumnConverter.cs
- WorkflowInstance.cs
- AnnouncementEndpointElement.cs