Code:
/ FX-1434 / FX-1434 / 1.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
- GridLengthConverter.cs
- UnsafeNativeMethodsTablet.cs
- GetPageCompletedEventArgs.cs
- TransformProviderWrapper.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- MatrixTransform3D.cs
- DynamicILGenerator.cs
- RbTree.cs
- SqlBuilder.cs
- PublishLicense.cs
- IsolatedStorageException.cs
- AgileSafeNativeMemoryHandle.cs
- WebPartPersonalization.cs
- FeatureSupport.cs
- VisualStyleTypesAndProperties.cs
- HostProtectionException.cs
- ContextMarshalException.cs
- VirtualDirectoryMappingCollection.cs
- WindowsToolbarAsMenu.cs
- brushes.cs
- SafeSystemMetrics.cs
- TextServicesProperty.cs
- FilterInvalidBodyAccessException.cs
- DBParameter.cs
- ApplicationTrust.cs
- UriParserTemplates.cs
- GeometryValueSerializer.cs
- SymDocumentType.cs
- SmtpReplyReader.cs
- NotSupportedException.cs
- TreeNodeStyleCollectionEditor.cs
- WeakReadOnlyCollection.cs
- LoadedEvent.cs
- DataGridTable.cs
- SequentialOutput.cs
- InkPresenter.cs
- ViewStateChangedEventArgs.cs
- SafeFindHandle.cs
- _DigestClient.cs
- Match.cs
- ToolboxComponentsCreatingEventArgs.cs
- documentsequencetextpointer.cs
- loginstatus.cs
- SkipQueryOptionExpression.cs
- DataControlHelper.cs
- ObjectAnimationUsingKeyFrames.cs
- CodeConstructor.cs
- BufferedStream.cs
- WsdlBuildProvider.cs
- ToolStripPanelRenderEventArgs.cs
- InternalDispatchObject.cs
- ExpressionHelper.cs
- ExcCanonicalXml.cs
- DesignColumnCollection.cs
- IconBitmapDecoder.cs
- AudioSignalProblemOccurredEventArgs.cs
- BuildResultCache.cs
- HMACSHA512.cs
- XmlValueConverter.cs
- WsdlBuildProvider.cs
- HandlerWithFactory.cs
- PasswordBox.cs
- Ipv6Element.cs
- InfoCardSymmetricCrypto.cs
- TextTreeUndoUnit.cs
- GeometryHitTestParameters.cs
- metadatamappinghashervisitor.cs
- SkinBuilder.cs
- StrokeNode.cs
- ComponentCollection.cs
- SizeAnimation.cs
- DriveNotFoundException.cs
- IxmlLineInfo.cs
- WCFBuildProvider.cs
- DBSqlParser.cs
- UIEndRequest.cs
- RootProjectionNode.cs
- RtfToXamlLexer.cs
- HttpPostedFile.cs
- AdRotator.cs
- DependencyPropertyDescriptor.cs
- Int64.cs
- KeyGesture.cs
- XPathPatternParser.cs
- Encoder.cs
- Site.cs
- TableCell.cs
- DoubleLinkList.cs
- InvalidCastException.cs
- StackBuilderSink.cs
- InternalSafeNativeMethods.cs
- WCFBuildProvider.cs
- DataTableReader.cs
- WebConfigurationManager.cs
- PointAnimationUsingPath.cs
- WindowsSlider.cs
- UnaryQueryOperator.cs
- HostDesigntimeLicenseContext.cs
- ProxyElement.cs
- CodeExporter.cs