Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeCastExpression.cs / 1305376 / CodeCastExpression.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- SecurityUtils.cs
- ConfigurationManagerInternalFactory.cs
- InlineCategoriesDocument.cs
- GeometryValueSerializer.cs
- RowToParametersTransformer.cs
- ToolStripItemEventArgs.cs
- TypeInitializationException.cs
- ADMembershipProvider.cs
- XPathNode.cs
- ParserStreamGeometryContext.cs
- RoutedEventArgs.cs
- ToggleButtonAutomationPeer.cs
- KeyEvent.cs
- TagMapCollection.cs
- Pkcs9Attribute.cs
- GregorianCalendar.cs
- SectionRecord.cs
- GuidConverter.cs
- SoapHeaderAttribute.cs
- SHA384Managed.cs
- CodeCommentStatement.cs
- MULTI_QI.cs
- Transform3DCollection.cs
- LogSwitch.cs
- DbConvert.cs
- WebBrowser.cs
- SettingsPropertyWrongTypeException.cs
- Msec.cs
- ChildTable.cs
- OpenFileDialog.cs
- ColorPalette.cs
- ReflectionServiceProvider.cs
- RewritingPass.cs
- GeometryConverter.cs
- SamlAuthorityBinding.cs
- ConnectionStringSettingsCollection.cs
- IdentityReference.cs
- BindingSource.cs
- HtmlControlDesigner.cs
- CompilationAssemblyInstallComponent.cs
- PermissionSetEnumerator.cs
- ParameterCollection.cs
- AccessibilityApplicationManager.cs
- ZipIOLocalFileBlock.cs
- DataObjectSettingDataEventArgs.cs
- ProcessModelSection.cs
- PropVariant.cs
- UmAlQuraCalendar.cs
- TextDecoration.cs
- TextBox.cs
- SafeLibraryHandle.cs
- XNameConverter.cs
- XmlSchemaInferenceException.cs
- ReadOnlyActivityGlyph.cs
- ListenerElementsCollection.cs
- TransportManager.cs
- PassportIdentity.cs
- GenericWebPart.cs
- ProxyElement.cs
- InArgumentConverter.cs
- ImmutableObjectAttribute.cs
- DocumentSequence.cs
- RepeatInfo.cs
- VersionedStreamOwner.cs
- TextProperties.cs
- ColumnHeader.cs
- XslNumber.cs
- ResourceExpressionBuilder.cs
- SystemEvents.cs
- followingquery.cs
- DataReaderContainer.cs
- MobilePage.cs
- FormViewDeleteEventArgs.cs
- SafeHandles.cs
- TemplatedAdorner.cs
- GeneralTransformGroup.cs
- QilVisitor.cs
- OuterGlowBitmapEffect.cs
- ChildrenQuery.cs
- Stroke.cs
- DPAPIProtectedConfigurationProvider.cs
- GeneralTransform3DGroup.cs
- ScrollBarRenderer.cs
- Splitter.cs
- WebPartDisplayModeCancelEventArgs.cs
- AssertUtility.cs
- PipelineModuleStepContainer.cs
- HandlerBase.cs
- ClassGenerator.cs
- DuplexClientBase.cs
- SqlDeflator.cs
- RijndaelManaged.cs
- AttributeProviderAttribute.cs
- UITypeEditor.cs
- Select.cs
- PerformanceCounterTraceRecord.cs
- XmlFormatWriterGenerator.cs
- MediaTimeline.cs
- XmlText.cs
- OAVariantLib.cs