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
- GlyphShapingProperties.cs
- AssemblyHelper.cs
- WhitespaceRuleReader.cs
- ParameterModifier.cs
- ProviderIncompatibleException.cs
- SmtpSection.cs
- TemplateContent.cs
- AccessViolationException.cs
- XmlUnspecifiedAttribute.cs
- InkCollectionBehavior.cs
- FileDialogCustomPlacesCollection.cs
- KeyMatchBuilder.cs
- TableLayoutSettingsTypeConverter.cs
- ImageIndexEditor.cs
- RawUIStateInputReport.cs
- XmlSchemaSimpleTypeUnion.cs
- CodeBlockBuilder.cs
- CodeAttributeDeclarationCollection.cs
- GroupJoinQueryOperator.cs
- XsltInput.cs
- PolyLineSegment.cs
- _KerberosClient.cs
- StrongNamePublicKeyBlob.cs
- TabControlCancelEvent.cs
- LinearKeyFrames.cs
- GetWinFXPath.cs
- DataGridViewButtonCell.cs
- PersonalizablePropertyEntry.cs
- SelectionItemProviderWrapper.cs
- PropertyPathConverter.cs
- GlyphRunDrawing.cs
- ComponentDispatcherThread.cs
- ImageAutomationPeer.cs
- Stream.cs
- util.cs
- XsdDuration.cs
- ConsumerConnectionPoint.cs
- PersonalizableAttribute.cs
- SafeJobHandle.cs
- DrawListViewColumnHeaderEventArgs.cs
- EntityModelBuildProvider.cs
- MsmqEncryptionAlgorithm.cs
- PerfCounterSection.cs
- mediapermission.cs
- User.cs
- RelationshipFixer.cs
- IgnoreSection.cs
- PageTextBox.cs
- DataRowChangeEvent.cs
- ListenerElementsCollection.cs
- CodeAssignStatement.cs
- QilTernary.cs
- SequenceQuery.cs
- WebPartVerbsEventArgs.cs
- SqlMethods.cs
- CatalogPartChrome.cs
- CodeGen.cs
- _TimerThread.cs
- TextDecoration.cs
- SafeFileMapViewHandle.cs
- ProvidersHelper.cs
- CodeMemberField.cs
- UrlMappingsSection.cs
- Themes.cs
- MetadataItem.cs
- SiteMapProvider.cs
- ISCIIEncoding.cs
- RecordManager.cs
- CryptoStream.cs
- CodeArgumentReferenceExpression.cs
- IMembershipProvider.cs
- NestedContainer.cs
- PermissionRequestEvidence.cs
- XamlClipboardData.cs
- EntityModelSchemaGenerator.cs
- AssociationTypeEmitter.cs
- RoleService.cs
- SplitContainer.cs
- ChannelToken.cs
- JobDuplex.cs
- EncryptedXml.cs
- PropertiesTab.cs
- Vector3D.cs
- SqlProcedureAttribute.cs
- AttributeQuery.cs
- RoutedEventConverter.cs
- XmlCharType.cs
- ContentControl.cs
- EntityDataSourceSelectedEventArgs.cs
- DispatcherSynchronizationContext.cs
- XmlChildNodes.cs
- FirewallWrapper.cs
- SiteMapNodeItemEventArgs.cs
- OwnerDrawPropertyBag.cs
- NavigatorInput.cs
- ElementProxy.cs
- ZipPackagePart.cs
- DuplexClientBase.cs
- LabelAutomationPeer.cs
- ProvidePropertyAttribute.cs