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
- Sentence.cs
- OciHandle.cs
- LOSFormatter.cs
- MutexSecurity.cs
- BinaryConverter.cs
- DesigntimeLicenseContext.cs
- PenThread.cs
- cache.cs
- DesignTimeValidationFeature.cs
- SqlDependency.cs
- DelayDesigner.cs
- XhtmlBasicCommandAdapter.cs
- XPathBinder.cs
- CaseInsensitiveHashCodeProvider.cs
- FixedTextContainer.cs
- PngBitmapDecoder.cs
- XslException.cs
- ItemsChangedEventArgs.cs
- CompilerCollection.cs
- AbsoluteQuery.cs
- TemplateAction.cs
- IListConverters.cs
- BindingMAnagerBase.cs
- AdRotator.cs
- OleDbMetaDataFactory.cs
- GeometryHitTestParameters.cs
- AssemblyBuilder.cs
- SequenceRange.cs
- ResourceExpressionBuilder.cs
- SByteConverter.cs
- DirectionalLight.cs
- SupportingTokenSpecification.cs
- BamlWriter.cs
- SerializationFieldInfo.cs
- DependencyPropertyHelper.cs
- URLString.cs
- CodeStatement.cs
- WCFModelStrings.Designer.cs
- ELinqQueryState.cs
- EntityContainerRelationshipSet.cs
- MulticastDelegate.cs
- ReadOnlyTernaryTree.cs
- ChannelCacheSettings.cs
- IERequestCache.cs
- PageCatalogPartDesigner.cs
- FontStyleConverter.cs
- ClientFormsIdentity.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- CodeEntryPointMethod.cs
- ModifierKeysConverter.cs
- ActivationServices.cs
- SqlSelectStatement.cs
- WindowsEditBox.cs
- DataGridState.cs
- QueryExpression.cs
- UniqueID.cs
- Scalars.cs
- HtmlControl.cs
- WebBrowserContainer.cs
- SMSvcHost.cs
- UIElement3D.cs
- XmlDocumentSerializer.cs
- PersonalizationAdministration.cs
- MenuCommandsChangedEventArgs.cs
- XmlReaderDelegator.cs
- HttpsTransportElement.cs
- InputScopeManager.cs
- NameValuePermission.cs
- DoubleKeyFrameCollection.cs
- Predicate.cs
- TimeEnumHelper.cs
- XamlDesignerSerializationManager.cs
- ApplicationDirectory.cs
- Queue.cs
- SimplePropertyEntry.cs
- Automation.cs
- SoapEnumAttribute.cs
- ToolStripSeparator.cs
- XmlNamespaceMapping.cs
- COM2PictureConverter.cs
- InitializationEventAttribute.cs
- InputScope.cs
- TripleDESCryptoServiceProvider.cs
- GradientSpreadMethodValidation.cs
- SatelliteContractVersionAttribute.cs
- FloatAverageAggregationOperator.cs
- SortDescriptionCollection.cs
- OdbcCommand.cs
- NetworkCredential.cs
- SmiXetterAccessMap.cs
- EntityWrapperFactory.cs
- SymbolPair.cs
- TableItemStyle.cs
- ReaderWriterLock.cs
- UnionExpr.cs
- EditorZoneBase.cs
- RC2CryptoServiceProvider.cs
- DataGridViewRowsAddedEventArgs.cs
- EventSinkHelperWriter.cs
- SystemIcons.cs