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
- SafeHandles.cs
- SafeRightsManagementPubHandle.cs
- SecurityContext.cs
- MessageDesigner.cs
- MdiWindowListStrip.cs
- ExternalCalls.cs
- LocalizationComments.cs
- EntityType.cs
- LinearGradientBrush.cs
- WindowsGrip.cs
- MouseGestureValueSerializer.cs
- CompiledAction.cs
- EntitySetBaseCollection.cs
- ConfigurationConverterBase.cs
- AdornerHitTestResult.cs
- milexports.cs
- DataObject.cs
- ClientSettingsSection.cs
- NameSpaceExtractor.cs
- ActivityXRefPropertyEditor.cs
- AppModelKnownContentFactory.cs
- DispatcherOperation.cs
- ArglessEventHandlerProxy.cs
- FunctionDefinition.cs
- CultureInfoConverter.cs
- FullTextLine.cs
- XomlDesignerLoader.cs
- GetMemberBinder.cs
- CacheHelper.cs
- UnsafeNetInfoNativeMethods.cs
- AdapterSwitches.cs
- _NegoStream.cs
- NotEqual.cs
- ImplicitInputBrush.cs
- ModelVisual3D.cs
- EasingFunctionBase.cs
- SQLSingle.cs
- BoundPropertyEntry.cs
- Enum.cs
- CqlParserHelpers.cs
- ResourceSet.cs
- StrokeNodeData.cs
- Propagator.ExtentPlaceholderCreator.cs
- connectionpool.cs
- RowSpanVector.cs
- WebPermission.cs
- Image.cs
- TextReader.cs
- EventLogPermissionEntry.cs
- ServiceOperationWrapper.cs
- ToolboxDataAttribute.cs
- CodeSnippetStatement.cs
- _Semaphore.cs
- DataSourceXmlElementAttribute.cs
- MLangCodePageEncoding.cs
- XmlSchemaAppInfo.cs
- SqlClientFactory.cs
- BlockUIContainer.cs
- SoapObjectWriter.cs
- NativeMethods.cs
- RoleManagerSection.cs
- Socket.cs
- AppSettingsSection.cs
- NativeMethodsOther.cs
- SettingsPropertyValue.cs
- COMException.cs
- InputScope.cs
- Thumb.cs
- KnownTypeAttribute.cs
- XPathBuilder.cs
- WindowManager.cs
- FloaterBaseParaClient.cs
- ISAPIWorkerRequest.cs
- FormsAuthenticationModule.cs
- Base64Encoder.cs
- ProgressBarBrushConverter.cs
- WindowsRegion.cs
- WebMessageEncoderFactory.cs
- DataGridViewToolTip.cs
- StructuredProperty.cs
- SecurityUtils.cs
- EllipseGeometry.cs
- QuotedPairReader.cs
- ResourceExpressionBuilder.cs
- FileSecurity.cs
- TemplateControlParser.cs
- QueryCursorEventArgs.cs
- RegexBoyerMoore.cs
- _SingleItemRequestCache.cs
- StrokeRenderer.cs
- DecimalStorage.cs
- Action.cs
- SourceExpressionException.cs
- WindowsContainer.cs
- MsmqChannelListenerBase.cs
- DispatcherExceptionFilterEventArgs.cs
- SqlBooleanizer.cs
- WpfKnownTypeInvoker.cs
- sapiproxy.cs
- NativeWindow.cs