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
- Base64Stream.cs
- WindowsHyperlink.cs
- KeyedCollection.cs
- ProxyWebPartManagerDesigner.cs
- Rect.cs
- MatchNoneMessageFilter.cs
- OdbcPermission.cs
- FrameworkPropertyMetadata.cs
- WasHttpModulesInstallComponent.cs
- VisualStyleInformation.cs
- ControlType.cs
- RegisteredExpandoAttribute.cs
- QueryCacheKey.cs
- Divide.cs
- precedingquery.cs
- ToolBarButtonClickEvent.cs
- TriggerAction.cs
- Italic.cs
- ToolStripButton.cs
- ObjectHandle.cs
- RepeaterItemCollection.cs
- MenuItemStyleCollection.cs
- EntityDataSourceChangedEventArgs.cs
- AliasExpr.cs
- XmlNamespaceManager.cs
- ComponentConverter.cs
- OleDbParameterCollection.cs
- CompiledQueryCacheEntry.cs
- ReadContentAsBinaryHelper.cs
- CodePageUtils.cs
- BamlResourceDeserializer.cs
- CompleteWizardStep.cs
- CategoryNameCollection.cs
- TreeChangeInfo.cs
- RuntimeHelpers.cs
- WebServiceEnumData.cs
- AccessibleObject.cs
- ColumnMap.cs
- ReverseInheritProperty.cs
- XPathExpr.cs
- CatalogPartCollection.cs
- BinaryReader.cs
- SourceLineInfo.cs
- XmlILTrace.cs
- ProxyHwnd.cs
- _Semaphore.cs
- ManagementEventWatcher.cs
- SharedStream.cs
- SID.cs
- HitTestParameters.cs
- ImmutableDispatchRuntime.cs
- HtmlElementCollection.cs
- DataViewListener.cs
- NativeMethods.cs
- PtsContext.cs
- QilValidationVisitor.cs
- BuildProviderUtils.cs
- DataServiceQuery.cs
- BitConverter.cs
- ReferentialConstraintRoleElement.cs
- ObfuscateAssemblyAttribute.cs
- CheckBoxField.cs
- DependencyPropertyChangedEventArgs.cs
- AsyncCallback.cs
- Single.cs
- ListMarkerLine.cs
- RelationshipConverter.cs
- ContainerFilterService.cs
- VirtualDirectoryMapping.cs
- HttpConfigurationSystem.cs
- MaxSessionCountExceededException.cs
- ModelPropertyCollectionImpl.cs
- AspCompat.cs
- SafeNativeMethodsOther.cs
- ApplyTemplatesAction.cs
- PointConverter.cs
- ScrollBar.cs
- BindingCompleteEventArgs.cs
- TabControl.cs
- DispatchChannelSink.cs
- String.cs
- ScriptControlDescriptor.cs
- IPipelineRuntime.cs
- Italic.cs
- XPathNodeHelper.cs
- NeutralResourcesLanguageAttribute.cs
- WorkflowElementDialog.cs
- ReflectionPermission.cs
- XsdDuration.cs
- FixedSOMLineRanges.cs
- TraceUtility.cs
- BookmarkWorkItem.cs
- XPathQueryGenerator.cs
- EnterpriseServicesHelper.cs
- WebPartTransformerCollection.cs
- X509AsymmetricSecurityKey.cs
- CLSCompliantAttribute.cs
- AsyncOperationManager.cs
- WindowHelperService.cs
- ComPlusTypeValidator.cs