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
- PageThemeParser.cs
- BindingContext.cs
- TreeIterators.cs
- NonVisualControlAttribute.cs
- Scheduler.cs
- CounterCreationData.cs
- InputLangChangeEvent.cs
- ConcurrentQueue.cs
- XPathAncestorIterator.cs
- ContextMarshalException.cs
- SchemaInfo.cs
- WebPartConnectionsConnectVerb.cs
- XmlWriterSettings.cs
- SelectionChangedEventArgs.cs
- MouseButtonEventArgs.cs
- BufferedStream.cs
- EntityStoreSchemaGenerator.cs
- FormsIdentity.cs
- InstanceCreationEditor.cs
- MaterialGroup.cs
- Duration.cs
- IgnoreDeviceFilterElementCollection.cs
- BitmapSourceSafeMILHandle.cs
- FloatMinMaxAggregationOperator.cs
- DataFormats.cs
- XmlCharType.cs
- XamlToRtfWriter.cs
- ClientRuntimeConfig.cs
- StylusEditingBehavior.cs
- DesignBindingValueUIHandler.cs
- SrgsGrammar.cs
- ActivityStatusChangeEventArgs.cs
- CodeTypeDeclarationCollection.cs
- Utils.cs
- ContentPlaceHolder.cs
- SpeechEvent.cs
- Instrumentation.cs
- PackWebRequest.cs
- SplitterEvent.cs
- ProtocolsSection.cs
- ListBoxAutomationPeer.cs
- WindowsScrollBar.cs
- Parameter.cs
- Axis.cs
- EmptyControlCollection.cs
- InstallerTypeAttribute.cs
- DoubleStorage.cs
- IsolatedStorageFilePermission.cs
- SkewTransform.cs
- XamlFilter.cs
- DataServiceQueryContinuation.cs
- TracedNativeMethods.cs
- StringSource.cs
- HtmlInputPassword.cs
- RegexReplacement.cs
- Visual3D.cs
- XmlLangPropertyAttribute.cs
- Int32.cs
- AndMessageFilterTable.cs
- MouseWheelEventArgs.cs
- AutoGeneratedField.cs
- DateTimeUtil.cs
- WorkflowMarkupSerializer.cs
- TraceAsyncResult.cs
- CounterCreationDataConverter.cs
- LinkTarget.cs
- PathTooLongException.cs
- BaseParser.cs
- Menu.cs
- WebExceptionStatus.cs
- SimpleApplicationHost.cs
- MouseWheelEventArgs.cs
- NavigationCommands.cs
- Misc.cs
- MarshalDirectiveException.cs
- MenuAutoFormat.cs
- DecimalAnimationUsingKeyFrames.cs
- XamlWriter.cs
- ContentPropertyAttribute.cs
- WebPartTracker.cs
- RequestQueue.cs
- DescendantOverDescendantQuery.cs
- WeakRefEnumerator.cs
- UrlPath.cs
- CultureTableRecord.cs
- SamlAuthenticationStatement.cs
- ExpandSegmentCollection.cs
- HtmlInputReset.cs
- PolicyValidationException.cs
- ExpressionWriter.cs
- WebServiceResponse.cs
- LicenseContext.cs
- ProfileBuildProvider.cs
- DetailsViewModeEventArgs.cs
- EventLogPermission.cs
- OneToOneMappingSerializer.cs
- SessionStateItemCollection.cs
- XmlAnyElementAttributes.cs
- XamlSerializerUtil.cs
- HMACSHA256.cs