Code:
/ 4.0 / 4.0 / 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. /// ///// // //----------------------------------------------------------------------------- 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
- SecurityUtils.cs
- SafeHandles.cs
- SystemWebSectionGroup.cs
- Serialization.cs
- XamlHostingSection.cs
- formatstringdialog.cs
- SystemIcons.cs
- LineGeometry.cs
- BrowserTree.cs
- CharStorage.cs
- SchemaCollectionPreprocessor.cs
- BufferedGraphicsManager.cs
- DictionaryBase.cs
- UdpChannelFactory.cs
- MasterPageBuildProvider.cs
- BaseInfoTable.cs
- SQLDateTime.cs
- HttpCacheVary.cs
- ValidationVisibilityAttribute.cs
- WebBrowserNavigatingEventHandler.cs
- ConnectionManager.cs
- BaseInfoTable.cs
- ToolStripContentPanel.cs
- CallTemplateAction.cs
- CharacterHit.cs
- TaskFileService.cs
- CharacterMetrics.cs
- BufferedWebEventProvider.cs
- VisualBasicDesignerHelper.cs
- BaseCollection.cs
- DataBindingCollection.cs
- ContentHostHelper.cs
- CacheMemory.cs
- ThicknessAnimation.cs
- XamlToRtfWriter.cs
- BindingList.cs
- ThemeableAttribute.cs
- VariableExpressionConverter.cs
- HtmlValidationSummaryAdapter.cs
- MenuItemAutomationPeer.cs
- ExtenderProvidedPropertyAttribute.cs
- ArithmeticException.cs
- IssuedSecurityTokenProvider.cs
- WriterOutput.cs
- VisualTreeUtils.cs
- DBCSCodePageEncoding.cs
- SctClaimDictionary.cs
- IDReferencePropertyAttribute.cs
- BlurBitmapEffect.cs
- RelationHandler.cs
- Baml2006SchemaContext.cs
- CellRelation.cs
- ApplicationActivator.cs
- NavigationProperty.cs
- WebPartUtil.cs
- CommandManager.cs
- DisplayMemberTemplateSelector.cs
- DBPropSet.cs
- Native.cs
- WindowManager.cs
- HttpCachePolicy.cs
- PassportIdentity.cs
- ByteConverter.cs
- BaseAddressElementCollection.cs
- NativeMethods.cs
- AssemblyAttributes.cs
- ExpressionEditor.cs
- EdgeProfileValidation.cs
- FormViewRow.cs
- ErrorFormatter.cs
- CompiledELinqQueryState.cs
- GenericAuthenticationEventArgs.cs
- MetadataItem.cs
- CrossSiteScriptingValidation.cs
- XsltSettings.cs
- ImpersonationContext.cs
- BlurEffect.cs
- SessionStateItemCollection.cs
- WorkflowDataContext.cs
- SpeechAudioFormatInfo.cs
- XPathConvert.cs
- Effect.cs
- TextEffectCollection.cs
- GatewayIPAddressInformationCollection.cs
- EditorResources.cs
- CodeCatchClauseCollection.cs
- LinkConverter.cs
- ImageMetadata.cs
- DesignTimeXamlWriter.cs
- PointCollectionConverter.cs
- EntityChangedParams.cs
- WebPartHeaderCloseVerb.cs
- RouteItem.cs
- InvalidProgramException.cs
- StringFormat.cs
- OracleTransaction.cs
- BitmapEffectCollection.cs
- ServiceInfoCollection.cs
- lengthconverter.cs
- SmtpNegotiateAuthenticationModule.cs