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
- LexicalChunk.cs
- PromptStyle.cs
- VBCodeProvider.cs
- SelectionEditor.cs
- DoubleAnimationUsingPath.cs
- TextRangeProviderWrapper.cs
- ImagingCache.cs
- SystemFonts.cs
- UnsafeNativeMethodsCLR.cs
- ObjectStateEntry.cs
- TempFiles.cs
- HGlobalSafeHandle.cs
- ObjectListItemCollection.cs
- SiteMapSection.cs
- XPathBuilder.cs
- ProcessModuleCollection.cs
- InvokePatternIdentifiers.cs
- PeerToPeerException.cs
- InvalidOleVariantTypeException.cs
- Compiler.cs
- Thickness.cs
- DecoderReplacementFallback.cs
- MenuItem.cs
- XPathNodeInfoAtom.cs
- Scripts.cs
- TileBrush.cs
- DataServiceQueryProvider.cs
- FormsIdentity.cs
- ModelItem.cs
- Claim.cs
- TextDecorations.cs
- XsltContext.cs
- WebPartTransformerCollection.cs
- DbException.cs
- CodeAttributeDeclaration.cs
- Rotation3D.cs
- PageBuildProvider.cs
- FamilyMap.cs
- Constant.cs
- InstanceLockQueryResult.cs
- BlockExpression.cs
- IDispatchConstantAttribute.cs
- EventLogTraceListener.cs
- ApplicationBuildProvider.cs
- Expr.cs
- SafeHandle.cs
- XmlHierarchicalEnumerable.cs
- UTF7Encoding.cs
- QueuePathEditor.cs
- ObjectToIdCache.cs
- LinearGradientBrush.cs
- BuildProviderUtils.cs
- XmlSchema.cs
- AssemblyNameProxy.cs
- TextBoxAutoCompleteSourceConverter.cs
- ElementFactory.cs
- SQLConvert.cs
- ELinqQueryState.cs
- BatchParser.cs
- HtmlInputRadioButton.cs
- TypeAccessException.cs
- HealthMonitoringSection.cs
- HostedElements.cs
- Rule.cs
- CodeTypeParameter.cs
- ReadOnlyNameValueCollection.cs
- StorageEndPropertyMapping.cs
- DetailsViewUpdateEventArgs.cs
- RightNameExpirationInfoPair.cs
- FreezableCollection.cs
- BinaryUtilClasses.cs
- CompilerTypeWithParams.cs
- SecureConversationServiceCredential.cs
- GetPageCompletedEventArgs.cs
- TemplateKeyConverter.cs
- MetaColumn.cs
- BuildManagerHost.cs
- PixelFormat.cs
- CodeExporter.cs
- SqlExpressionNullability.cs
- SqlDataSourceConfigureSortForm.cs
- ResXDataNode.cs
- Subset.cs
- ValueTypeIndexerReference.cs
- XNodeValidator.cs
- NCryptNative.cs
- XamlFigureLengthSerializer.cs
- UIElementIsland.cs
- NextPreviousPagerField.cs
- DrawingGroup.cs
- ColumnTypeConverter.cs
- SessionStateItemCollection.cs
- RefreshInfo.cs
- WebPartMovingEventArgs.cs
- NotifyIcon.cs
- ImageFormat.cs
- recordstatefactory.cs
- login.cs
- WebEventTraceProvider.cs
- Pen.cs