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
- DataGridBoolColumn.cs
- CompoundFileIOPermission.cs
- CodeSubDirectory.cs
- FactoryMaker.cs
- DataGridViewMethods.cs
- OleDbCommandBuilder.cs
- StorageBasedPackageProperties.cs
- GZipDecoder.cs
- SecureUICommand.cs
- ConfigurationPropertyAttribute.cs
- EncryptedData.cs
- EditableTreeList.cs
- XmlSchemaExporter.cs
- ScriptControl.cs
- RuntimeConfigurationRecord.cs
- PermissionAttributes.cs
- DocumentOrderQuery.cs
- RtfToXamlReader.cs
- DtcInterfaces.cs
- PageContentCollection.cs
- TemplateBindingExpressionConverter.cs
- DesignerHost.cs
- TextEffect.cs
- ProgressiveCrcCalculatingStream.cs
- IntSecurity.cs
- Crypto.cs
- PipeStream.cs
- MonitorWrapper.cs
- _ProxyChain.cs
- GeometryGroup.cs
- ObjectDataSourceEventArgs.cs
- WindowsScrollBar.cs
- ManagedWndProcTracker.cs
- SpoolingTaskBase.cs
- ExecutedRoutedEventArgs.cs
- FormViewPagerRow.cs
- ValueSerializer.cs
- XmlEntity.cs
- DbMetaDataFactory.cs
- UnsafeMethods.cs
- ResXDataNode.cs
- ProtocolViolationException.cs
- ButtonBase.cs
- DataTableReaderListener.cs
- DocumentPageHost.cs
- XamlPathDataSerializer.cs
- DataGridItem.cs
- HtmlHead.cs
- AutomationElementCollection.cs
- __TransparentProxy.cs
- CannotUnloadAppDomainException.cs
- invalidudtexception.cs
- DataGridRelationshipRow.cs
- XMLSchema.cs
- SqlDependency.cs
- PieceNameHelper.cs
- XmlFileEditor.cs
- MetadataWorkspace.cs
- UnsafeNativeMethods.cs
- RectAnimationUsingKeyFrames.cs
- ToggleButtonAutomationPeer.cs
- RubberbandSelector.cs
- DefaultEvaluationContext.cs
- DummyDataSource.cs
- ListView.cs
- Membership.cs
- MediaPlayer.cs
- MediaPlayer.cs
- LinearGradientBrush.cs
- NativeMethods.cs
- HttpPostLocalhostServerProtocol.cs
- Size.cs
- AsyncStreamReader.cs
- XmlSchemaComplexContent.cs
- ImageInfo.cs
- DataGridComponentEditor.cs
- HttpVersion.cs
- RectangleF.cs
- Page.cs
- NextPreviousPagerField.cs
- XpsFixedPageReaderWriter.cs
- DataDocumentXPathNavigator.cs
- InputReport.cs
- ListChangedEventArgs.cs
- ProtocolsConfiguration.cs
- SweepDirectionValidation.cs
- HuffModule.cs
- EventListenerClientSide.cs
- XpsS0ValidatingLoader.cs
- MdiWindowListStrip.cs
- BindingSourceDesigner.cs
- ThumbAutomationPeer.cs
- ExpressionBuilder.cs
- DesignerWidgets.cs
- ApplicationManager.cs
- ResourceSet.cs
- WindowsPen.cs
- ParserContext.cs
- ToolBarButtonDesigner.cs
- DataGridViewTextBoxColumn.cs