Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ActiveXHost.cs
- SqlFunctions.cs
- ModelFunctionTypeElement.cs
- PageSetupDialog.cs
- XhtmlBasicPhoneCallAdapter.cs
- ExtentJoinTreeNode.cs
- SchemaImporter.cs
- GridViewAutoFormat.cs
- GridViewAutomationPeer.cs
- QilFunction.cs
- SplitterPanel.cs
- WebServiceEnumData.cs
- PageCache.cs
- FormatStringEditor.cs
- InvalidProgramException.cs
- FilterException.cs
- HttpPostProtocolImporter.cs
- XmlnsPrefixAttribute.cs
- SHA512CryptoServiceProvider.cs
- Int32RectValueSerializer.cs
- DrawingCollection.cs
- ClientRoleProvider.cs
- ToolStripDropDownClosingEventArgs.cs
- KeyEventArgs.cs
- ReadWriteSpinLock.cs
- TcpProcessProtocolHandler.cs
- ApplicationSecurityManager.cs
- ValidatorCompatibilityHelper.cs
- WebPartDeleteVerb.cs
- MaterialGroup.cs
- ViewBox.cs
- SessionPageStateSection.cs
- CustomCategoryAttribute.cs
- X509Extension.cs
- PaperSize.cs
- BrowsableAttribute.cs
- UnknownBitmapDecoder.cs
- X509Extension.cs
- IERequestCache.cs
- StaticFileHandler.cs
- PropertyPathConverter.cs
- DbModificationCommandTree.cs
- FormsAuthenticationModule.cs
- VideoDrawing.cs
- PreloadedPackages.cs
- SourceChangedEventArgs.cs
- SerializationException.cs
- EventLogWatcher.cs
- BamlCollectionHolder.cs
- ActiveXContainer.cs
- QilPatternVisitor.cs
- BridgeDataReader.cs
- ReceiveContextCollection.cs
- ItemsPresenter.cs
- DmlSqlGenerator.cs
- Rect3DValueSerializer.cs
- SystemIcmpV6Statistics.cs
- FixedPosition.cs
- QilXmlWriter.cs
- ContainerFilterService.cs
- ToolStripOverflowButton.cs
- CodeDelegateInvokeExpression.cs
- QuaternionRotation3D.cs
- ObjectDataSource.cs
- ProcessHostConfigUtils.cs
- HtmlSelectionListAdapter.cs
- MetadataSource.cs
- ScrollContentPresenter.cs
- CheckBox.cs
- ProcessHostFactoryHelper.cs
- SoapTransportImporter.cs
- KeyValueConfigurationCollection.cs
- WindowsSolidBrush.cs
- CallbackHandler.cs
- EventLogPermissionAttribute.cs
- DefaultEventAttribute.cs
- PropertyDescriptorGridEntry.cs
- WebZone.cs
- FormView.cs
- SqlDeflator.cs
- FunctionImportElement.cs
- MaskedTextBox.cs
- ProcessDesigner.cs
- __Filters.cs
- Directory.cs
- TdsEnums.cs
- VerificationException.cs
- GAC.cs
- MbpInfo.cs
- CompoundFileDeflateTransform.cs
- SQLSingle.cs
- SystemColors.cs
- TimeoutValidationAttribute.cs
- URIFormatException.cs
- LayoutUtils.cs
- XmlDataSource.cs
- _Win32.cs
- StringHandle.cs
- BackgroundFormatInfo.cs
- BuildProviderAppliesToAttribute.cs