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
- OrderPreservingMergeHelper.cs
- BitmapEffectCollection.cs
- PrimaryKeyTypeConverter.cs
- StorageEntityTypeMapping.cs
- TreeView.cs
- StickyNote.cs
- XPathQilFactory.cs
- Triangle.cs
- TemplateComponentConnector.cs
- ViewBase.cs
- DbExpressionVisitor.cs
- FormsAuthenticationModule.cs
- EmulateRecognizeCompletedEventArgs.cs
- storepermission.cs
- EventLogPermissionEntryCollection.cs
- ImageCodecInfo.cs
- Line.cs
- XmlValueConverter.cs
- BoolExpr.cs
- SimplePropertyEntry.cs
- DoubleAnimationUsingKeyFrames.cs
- Condition.cs
- DesignTimeTemplateParser.cs
- ErrorRuntimeConfig.cs
- SingleKeyFrameCollection.cs
- WsatConfiguration.cs
- DateTimePicker.cs
- UrlMappingCollection.cs
- SoapException.cs
- XamlClipboardData.cs
- StrokeNodeEnumerator.cs
- DataDesignUtil.cs
- InvalidProgramException.cs
- GeneralTransform3D.cs
- NavigationWindow.cs
- XmlUtil.cs
- EndOfStreamException.cs
- GridView.cs
- XamlDesignerSerializationManager.cs
- ADMembershipUser.cs
- ScalarRestriction.cs
- SqlReferenceCollection.cs
- CodeTypeReferenceCollection.cs
- ContentValidator.cs
- SQLByte.cs
- KernelTypeValidation.cs
- _IPv6Address.cs
- XamlPointCollectionSerializer.cs
- ReaderWriterLock.cs
- IProducerConsumerCollection.cs
- TextRunProperties.cs
- PowerModeChangedEventArgs.cs
- AdapterUtil.cs
- StringExpressionSet.cs
- Point3DCollection.cs
- SystemGatewayIPAddressInformation.cs
- ClientUtils.cs
- GroupByQueryOperator.cs
- WebPartsPersonalizationAuthorization.cs
- HybridDictionary.cs
- HttpResponse.cs
- BackStopAuthenticationModule.cs
- QilTernary.cs
- SafeCryptContextHandle.cs
- TranslateTransform3D.cs
- CompiledXpathExpr.cs
- PathFigure.cs
- ContextMarshalException.cs
- SqlAliaser.cs
- OdbcErrorCollection.cs
- DataServiceQueryContinuation.cs
- RemotingConfigParser.cs
- CategoryNameCollection.cs
- DynamicMetaObject.cs
- DependencyPropertyDescriptor.cs
- QilInvokeLateBound.cs
- HScrollProperties.cs
- AuthorizationRuleCollection.cs
- webeventbuffer.cs
- XmlSchemaAppInfo.cs
- EdmScalarPropertyAttribute.cs
- PersistNameAttribute.cs
- DataPager.cs
- UnicodeEncoding.cs
- CodeNamespaceImportCollection.cs
- CodeArrayCreateExpression.cs
- SecondaryIndexDefinition.cs
- HttpWriter.cs
- StoryFragments.cs
- StaticContext.cs
- EventProviderWriter.cs
- FrameSecurityDescriptor.cs
- AmbientLight.cs
- InputLanguageCollection.cs
- EditorOptionAttribute.cs
- DesignerForm.cs
- Html32TextWriter.cs
- DataGridClipboardCellContent.cs
- RenamedEventArgs.cs
- XmlDocumentFragment.cs