Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- VirtualDirectoryMappingCollection.cs
- MDIClient.cs
- BulletedList.cs
- ColorMap.cs
- SymmetricAlgorithm.cs
- AssemblyHash.cs
- DictionarySectionHandler.cs
- DocumentViewerBase.cs
- FontStyleConverter.cs
- ColorTransform.cs
- TextEditorCharacters.cs
- SynchronizationHandlesCodeDomSerializer.cs
- PackageStore.cs
- LayoutInformation.cs
- HostingPreferredMapPath.cs
- DecimalAverageAggregationOperator.cs
- CollectionAdapters.cs
- SQlBooleanStorage.cs
- EventSource.cs
- LinkLabelLinkClickedEvent.cs
- CoreSwitches.cs
- LongSumAggregationOperator.cs
- SafeEventLogWriteHandle.cs
- DataGridViewColumnCollection.cs
- Overlapped.cs
- CapiSymmetricAlgorithm.cs
- BamlTreeUpdater.cs
- DynamicDocumentPaginator.cs
- SynchronizationLockException.cs
- ToolboxCategory.cs
- Function.cs
- ActivityTypeResolver.xaml.cs
- Expression.cs
- StringToken.cs
- BitmapEffectInputData.cs
- HtmlEncodedRawTextWriter.cs
- CopyOnWriteList.cs
- RelatedCurrencyManager.cs
- AccessedThroughPropertyAttribute.cs
- PermissionSet.cs
- LostFocusEventManager.cs
- DbConnectionInternal.cs
- OutputScopeManager.cs
- AnnotationResourceChangedEventArgs.cs
- DataGridViewRow.cs
- ErrorFormatter.cs
- DataGridViewTextBoxCell.cs
- MediaTimeline.cs
- InfoCardService.cs
- ConfigXmlWhitespace.cs
- ExtractorMetadata.cs
- StaticExtension.cs
- FontConverter.cs
- UIAgentMonitor.cs
- TextBoxBase.cs
- SqlDataSourceCommandEventArgs.cs
- ColumnBinding.cs
- DeferredSelectedIndexReference.cs
- SafeProcessHandle.cs
- AuthorizationRuleCollection.cs
- SqlDataSourceStatusEventArgs.cs
- InstanceHandleConflictException.cs
- storepermissionattribute.cs
- HtmlWindowCollection.cs
- RtfToXamlReader.cs
- UiaCoreProviderApi.cs
- oledbmetadatacollectionnames.cs
- DataGridLinkButton.cs
- SecurityCriticalDataForSet.cs
- validationstate.cs
- WindowsImpersonationContext.cs
- ManifestResourceInfo.cs
- AsymmetricKeyExchangeDeformatter.cs
- SubstitutionList.cs
- ScrollEventArgs.cs
- TrimSurroundingWhitespaceAttribute.cs
- ObjectStateEntry.cs
- AggregatePushdown.cs
- SimpleRecyclingCache.cs
- SQLCharsStorage.cs
- LZCodec.cs
- BulletDecorator.cs
- Errors.cs
- SkinBuilder.cs
- FillBehavior.cs
- SettingsPropertyWrongTypeException.cs
- HttpCookieCollection.cs
- Mapping.cs
- PropertyTabAttribute.cs
- _LazyAsyncResult.cs
- TransformValueSerializer.cs
- ArrayHelper.cs
- AssemblyNameProxy.cs
- SerializeAbsoluteContext.cs
- ScrollProviderWrapper.cs
- RangeValuePattern.cs
- MatrixAnimationUsingKeyFrames.cs
- TextTreeText.cs
- PathSegmentCollection.cs
- LinkUtilities.cs