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
- DBSchemaRow.cs
- DBAsyncResult.cs
- DigestComparer.cs
- ConfigurationSectionHelper.cs
- DrawingGroup.cs
- NativeMethods.cs
- QueryOutputWriterV1.cs
- SqlGenericUtil.cs
- ModelVisual3D.cs
- FtpWebResponse.cs
- ContentPropertyAttribute.cs
- TdsEnums.cs
- ViewRendering.cs
- LoginCancelEventArgs.cs
- _StreamFramer.cs
- KnownTypesProvider.cs
- CalloutQueueItem.cs
- IntegerValidator.cs
- BitmapEffectGroup.cs
- Decoder.cs
- OrderByQueryOptionExpression.cs
- InstanceDescriptor.cs
- OpenTypeLayoutCache.cs
- PositiveTimeSpanValidator.cs
- ConfigurationElementCollection.cs
- DesignerActionVerbList.cs
- EncryptedData.cs
- DocumentSequence.cs
- BypassElementCollection.cs
- TypedTableGenerator.cs
- ArgumentDirectionHelper.cs
- AbstractSvcMapFileLoader.cs
- DataFormat.cs
- MarginsConverter.cs
- XmlHelper.cs
- MarkupProperty.cs
- LinqDataSourceContextData.cs
- TabOrder.cs
- VirtualDirectoryMappingCollection.cs
- PointAnimationUsingPath.cs
- MemberInfoSerializationHolder.cs
- HtmlFormAdapter.cs
- SecurityState.cs
- Roles.cs
- HeaderElement.cs
- COSERVERINFO.cs
- GenericParameterDataContract.cs
- safelinkcollection.cs
- LinearKeyFrames.cs
- RowsCopiedEventArgs.cs
- ArgumentReference.cs
- Helpers.cs
- CollectionView.cs
- ContractTypeNameCollection.cs
- UserControl.cs
- ToggleButton.cs
- RowSpanVector.cs
- ToolStripOverflow.cs
- CommandField.cs
- RijndaelManaged.cs
- Atom10ItemFormatter.cs
- ProviderConnectionPoint.cs
- DynamicDiscoSearcher.cs
- WmfPlaceableFileHeader.cs
- SqlErrorCollection.cs
- ObfuscationAttribute.cs
- DateTimeOffset.cs
- TransportManager.cs
- COM2IDispatchConverter.cs
- HttpResponseHeader.cs
- PrintPreviewDialog.cs
- AttachmentService.cs
- UdpUtility.cs
- DemultiplexingDispatchMessageFormatter.cs
- EntityClassGenerator.cs
- CookieParameter.cs
- ConnectionPoint.cs
- InputProcessorProfilesLoader.cs
- altserialization.cs
- XmlEntityReference.cs
- WebAdminConfigurationHelper.cs
- RangeBase.cs
- PeekCompletedEventArgs.cs
- EndpointAddressMessageFilterTable.cs
- HybridDictionary.cs
- CancelEventArgs.cs
- Brush.cs
- XmlSchemaSimpleType.cs
- SmtpNegotiateAuthenticationModule.cs
- SplitContainer.cs
- DocumentPageView.cs
- MarkerProperties.cs
- RegularExpressionValidator.cs
- ResourcesGenerator.cs
- DoubleAnimation.cs
- TextUtf8RawTextWriter.cs
- MouseButtonEventArgs.cs
- MenuItem.cs
- CommandSet.cs
- RemotingConfiguration.cs