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
- Message.cs
- ZipPackagePart.cs
- DataControlField.cs
- StyleModeStack.cs
- AssemblySettingAttributes.cs
- BoundingRectTracker.cs
- EntityDataSourceWrapper.cs
- SyndicationLink.cs
- HostExecutionContextManager.cs
- OracleEncoding.cs
- FileSystemInfo.cs
- X509RawDataKeyIdentifierClause.cs
- ToolStripDropDownItemDesigner.cs
- WindowsGraphics2.cs
- WebContext.cs
- TabOrder.cs
- BamlLocalizer.cs
- RectAnimationClockResource.cs
- PropertyStore.cs
- ITextView.cs
- InheritedPropertyChangedEventArgs.cs
- wgx_render.cs
- SettingsSection.cs
- DefaultTextStoreTextComposition.cs
- ControlCachePolicy.cs
- StringToken.cs
- JoinSymbol.cs
- HttpModuleActionCollection.cs
- LoginNameDesigner.cs
- DataPagerCommandEventArgs.cs
- StatusBarItem.cs
- SecureStringHasher.cs
- UnitControl.cs
- TabControl.cs
- XpsColorContext.cs
- ControlEvent.cs
- Helpers.cs
- DataTableMapping.cs
- ParserExtension.cs
- ButtonField.cs
- ConfigurationElement.cs
- CollectionViewGroupInternal.cs
- ProcessHostConfigUtils.cs
- PrivateFontCollection.cs
- ToolStripEditorManager.cs
- ValidatingReaderNodeData.cs
- ProxyElement.cs
- MimeTypeMapper.cs
- SqlOuterApplyReducer.cs
- SessionEndingEventArgs.cs
- EpmContentSerializer.cs
- FlowDocumentScrollViewer.cs
- ObservableDictionary.cs
- AudienceUriMode.cs
- MetadataExchangeBindings.cs
- ClipboardData.cs
- Converter.cs
- RoleBoolean.cs
- DifferencingCollection.cs
- MemberPath.cs
- DockPattern.cs
- ComponentResourceManager.cs
- SqlConnectionPoolGroupProviderInfo.cs
- TemplateXamlTreeBuilder.cs
- IPAddress.cs
- OleDbMetaDataFactory.cs
- XmlSchemaAny.cs
- SmtpTransport.cs
- WinInetCache.cs
- ListViewInsertedEventArgs.cs
- ClipboardProcessor.cs
- TdsParserSessionPool.cs
- XmlSchemaGroupRef.cs
- XmlSecureResolver.cs
- DrawingBrush.cs
- WebErrorHandler.cs
- SoapSchemaExporter.cs
- DispatcherTimer.cs
- MailMessage.cs
- SpecialNameAttribute.cs
- HwndMouseInputProvider.cs
- InkCanvasSelection.cs
- BooleanAnimationUsingKeyFrames.cs
- DependencyPropertyKey.cs
- XmlCollation.cs
- AtomPub10CategoriesDocumentFormatter.cs
- DPCustomTypeDescriptor.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- XhtmlBasicImageAdapter.cs
- XmlElement.cs
- ConnectionInterfaceCollection.cs
- GeneralTransform.cs
- UnsupportedPolicyOptionsException.cs
- StringResourceManager.cs
- ChtmlSelectionListAdapter.cs
- FixedSOMTableCell.cs
- FolderBrowserDialog.cs
- Stackframe.cs
- ImageSource.cs
- VisualBasicExpressionConverter.cs