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
- Control.cs
- SafeLibraryHandle.cs
- Rotation3DKeyFrameCollection.cs
- BitmapEffectGroup.cs
- TrustLevelCollection.cs
- OpCopier.cs
- SessionStateUtil.cs
- InvalidContentTypeException.cs
- FileDialog.cs
- ExpressionPrefixAttribute.cs
- DataGridColumn.cs
- XmlHierarchicalEnumerable.cs
- ScriptingRoleServiceSection.cs
- ImageUrlEditor.cs
- SvcMapFileSerializer.cs
- StyleModeStack.cs
- DrawingContextDrawingContextWalker.cs
- EventLogInformation.cs
- DateTimeFormat.cs
- Form.cs
- recordstate.cs
- Parsers.cs
- DoubleCollectionConverter.cs
- SafeNativeMethods.cs
- BasicExpandProvider.cs
- Brush.cs
- RestClientProxyHandler.cs
- UserControlParser.cs
- ProfileService.cs
- ExpressionBuilderCollection.cs
- sqlstateclientmanager.cs
- RuleRef.cs
- SqlProcedureAttribute.cs
- CqlLexer.cs
- AuthenticationManager.cs
- BrowserTree.cs
- AppSettingsExpressionEditor.cs
- SecurityElement.cs
- TdsParser.cs
- DoubleAnimationBase.cs
- StrongNameIdentityPermission.cs
- TextEndOfSegment.cs
- WebSysDefaultValueAttribute.cs
- CrossSiteScriptingValidation.cs
- XsltLoader.cs
- RangeValuePattern.cs
- ProfileBuildProvider.cs
- ListParagraph.cs
- PartialCachingAttribute.cs
- PartBasedPackageProperties.cs
- columnmapkeybuilder.cs
- QilExpression.cs
- SystemFonts.cs
- WindowsHyperlink.cs
- login.cs
- ToolBarTray.cs
- LinqDataSourceView.cs
- ResourceProperty.cs
- ToolStripDropDownClosedEventArgs.cs
- Environment.cs
- PackageRelationshipCollection.cs
- CDSsyncETWBCLProvider.cs
- WebPartMinimizeVerb.cs
- QueuePropertyVariants.cs
- ElapsedEventArgs.cs
- TextEditorSpelling.cs
- ImageConverter.cs
- SynchronizationLockException.cs
- MenuItemBinding.cs
- BooleanSwitch.cs
- Evaluator.cs
- DesignerForm.cs
- ReaderContextStackData.cs
- TypeGeneratedEventArgs.cs
- DataGridViewCellParsingEventArgs.cs
- AnnouncementDispatcherAsyncResult.cs
- WindowsPrincipal.cs
- LinqDataSourceValidationException.cs
- XamlToRtfParser.cs
- MouseButton.cs
- OciLobLocator.cs
- TypeConverterHelper.cs
- WebBodyFormatMessageProperty.cs
- _LocalDataStore.cs
- SweepDirectionValidation.cs
- _ListenerAsyncResult.cs
- StreamDocument.cs
- GridItemCollection.cs
- EntryPointNotFoundException.cs
- ChtmlTextBoxAdapter.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- UIElement3D.cs
- WFItemsToSpacerVisibility.cs
- SessionStateSection.cs
- EdmPropertyAttribute.cs
- InProcStateClientManager.cs
- coordinator.cs
- WebConfigurationHost.cs
- SMSvcHost.cs
- TargetInvocationException.cs