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
- SolidColorBrush.cs
- EntityClientCacheEntry.cs
- XmlDocumentFragment.cs
- HtmlElementErrorEventArgs.cs
- DataViewManagerListItemTypeDescriptor.cs
- XmlQueryTypeFactory.cs
- Panel.cs
- Multiply.cs
- DataGridItem.cs
- EncryptedKeyIdentifierClause.cs
- HtmlAnchor.cs
- MobileControlBuilder.cs
- ArrayMergeHelper.cs
- RepeatInfo.cs
- OdbcDataReader.cs
- RichTextBox.cs
- PasswordRecovery.cs
- AutomationPatternInfo.cs
- DataGridTablesFactory.cs
- ExceptionValidationRule.cs
- CompilerParameters.cs
- OperationResponse.cs
- PipeSecurity.cs
- XhtmlCssHandler.cs
- Propagator.cs
- ECDiffieHellmanCng.cs
- ToolStripDropDownClosingEventArgs.cs
- BrushMappingModeValidation.cs
- COM2FontConverter.cs
- ListBindingConverter.cs
- BufferedStream2.cs
- DiagnosticTrace.cs
- GacUtil.cs
- AndMessageFilter.cs
- Int32Animation.cs
- IListConverters.cs
- XmlDocumentSchema.cs
- Int16KeyFrameCollection.cs
- BamlReader.cs
- ToolStripSplitButton.cs
- BasicKeyConstraint.cs
- FunctionImportElement.cs
- Ray3DHitTestResult.cs
- ProtocolsConfigurationHandler.cs
- AppSettingsExpressionBuilder.cs
- XmlSerializerVersionAttribute.cs
- XmlReflectionMember.cs
- ToolStripRendererSwitcher.cs
- PersonalizationEntry.cs
- SmtpAuthenticationManager.cs
- SecurityKeyIdentifier.cs
- BooleanExpr.cs
- Content.cs
- WindowsProgressbar.cs
- XmlException.cs
- ElementMarkupObject.cs
- Block.cs
- EndpointNotFoundException.cs
- WebPartDisplayMode.cs
- SapiGrammar.cs
- BuildProviderCollection.cs
- QueryOperationResponseOfT.cs
- SqlNotificationRequest.cs
- TransferRequestHandler.cs
- OracleInfoMessageEventArgs.cs
- ShortcutKeysEditor.cs
- DataGridAddNewRow.cs
- ParameterBuilder.cs
- PenLineJoinValidation.cs
- CapabilitiesState.cs
- InternalPermissions.cs
- QueryResponse.cs
- DataGridView.cs
- ResourceKey.cs
- StructuralType.cs
- XmlSecureResolver.cs
- DefinitionBase.cs
- BitConverter.cs
- TrackingStringDictionary.cs
- PseudoWebRequest.cs
- UnknownBitmapEncoder.cs
- DataTable.cs
- AudioException.cs
- QilUnary.cs
- AutomationElementIdentifiers.cs
- PropertyItem.cs
- Odbc32.cs
- LoginAutoFormat.cs
- TableItemProviderWrapper.cs
- TypeUtils.cs
- LongValidatorAttribute.cs
- ObjectManager.cs
- ADMembershipUser.cs
- SecurityState.cs
- bidPrivateBase.cs
- TraceContext.cs
- Rectangle.cs
- PolicyStatement.cs
- NavigationWindowAutomationPeer.cs
- PathSegmentCollection.cs