Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// The expression to cast. /// ///// 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; } } } } // 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
- PointConverter.cs
- ScrollableControl.cs
- _DisconnectOverlappedAsyncResult.cs
- DecoderReplacementFallback.cs
- FixedSOMTableRow.cs
- CommandCollectionEditor.cs
- PropertyInformation.cs
- FileStream.cs
- PathFigureCollection.cs
- HtmlControl.cs
- RectangleGeometry.cs
- TextEditorContextMenu.cs
- CollectionConverter.cs
- PcmConverter.cs
- XamlReader.cs
- ListViewGroupConverter.cs
- SqlFactory.cs
- PagerSettings.cs
- ReadingWritingEntityEventArgs.cs
- ImageUrlEditor.cs
- ColumnResizeUndoUnit.cs
- CriticalFinalizerObject.cs
- CopyNamespacesAction.cs
- LinqDataSourceValidationException.cs
- XamlSerializerUtil.cs
- DbException.cs
- MsmqMessageSerializationFormat.cs
- LockingPersistenceProvider.cs
- StreamReader.cs
- JsonReader.cs
- ECDiffieHellmanCng.cs
- SoapProcessingBehavior.cs
- CommonProperties.cs
- AnnotationComponentManager.cs
- DataViewSettingCollection.cs
- DataGridViewColumnConverter.cs
- ScrollProviderWrapper.cs
- OperatingSystemVersionCheck.cs
- GroupBoxAutomationPeer.cs
- SqlDataSourceWizardForm.cs
- OleDbCommand.cs
- ClientTarget.cs
- PrefixQName.cs
- UseManagedPresentationBindingElement.cs
- ErrorBehavior.cs
- RichTextBox.cs
- TimeStampChecker.cs
- ActivityTypeDesigner.xaml.cs
- CommandDesigner.cs
- ProfileServiceManager.cs
- FileDialogCustomPlace.cs
- CompModHelpers.cs
- RepeatButton.cs
- SpecialTypeDataContract.cs
- ToolStripPanelRow.cs
- LinkClickEvent.cs
- AdPostCacheSubstitution.cs
- HierarchicalDataSourceControl.cs
- Tablet.cs
- StyleTypedPropertyAttribute.cs
- DynamicAttribute.cs
- ConcurrentQueue.cs
- OletxTransactionManager.cs
- NativeMethods.cs
- BufferBuilder.cs
- SByte.cs
- MiniCustomAttributeInfo.cs
- ModelPropertyDescriptor.cs
- HostingEnvironmentWrapper.cs
- OdbcCommandBuilder.cs
- DataSourceControl.cs
- CalendarDataBindingHandler.cs
- ToolBar.cs
- EnumerableRowCollectionExtensions.cs
- SimpleRecyclingCache.cs
- ConstrainedGroup.cs
- DbDataReader.cs
- HandleCollector.cs
- SerialPinChanges.cs
- CodeGenerator.cs
- MenuItemStyle.cs
- XmlSchemaSimpleType.cs
- SelectionEditor.cs
- HttpModulesSection.cs
- DispatcherHookEventArgs.cs
- AppManager.cs
- MessageHeaderException.cs
- MonitoringDescriptionAttribute.cs
- AnnotationAuthorChangedEventArgs.cs
- DnsEndPoint.cs
- ScriptResourceAttribute.cs
- HashHelper.cs
- ObjectQueryState.cs
- DebugInfoExpression.cs
- MaskedTextProvider.cs
- DecimalKeyFrameCollection.cs
- LogSwitch.cs
- IApplicationTrustManager.cs
- DesignerHierarchicalDataSourceView.cs
- IisTraceWebEventProvider.cs