Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// The expression to cast. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectMemberMapping.cs
- OracleConnection.cs
- StorageScalarPropertyMapping.cs
- RequestCachingSection.cs
- MarkupExtensionParser.cs
- HttpFileCollection.cs
- ConsumerConnectionPoint.cs
- WindowsSolidBrush.cs
- DataGridRowDetailsEventArgs.cs
- PrintPreviewGraphics.cs
- WindowsPrincipal.cs
- WorkflowMarkupSerializer.cs
- RegularExpressionValidator.cs
- Tuple.cs
- LinkClickEvent.cs
- DesignerSerializationOptionsAttribute.cs
- ComboBoxAutomationPeer.cs
- ISO2022Encoding.cs
- XmlObjectSerializerReadContextComplex.cs
- SymDocumentType.cs
- HostProtectionPermission.cs
- PageThemeBuildProvider.cs
- odbcmetadatafactory.cs
- Scanner.cs
- TrackBarDesigner.cs
- UnsafeNativeMethods.cs
- ReliableOutputConnection.cs
- RuleInfoComparer.cs
- XmlWrappingReader.cs
- TracePayload.cs
- ListenerTraceUtility.cs
- AbsoluteQuery.cs
- ReceiveReply.cs
- HtmlTableRowCollection.cs
- WindowsListViewItemCheckBox.cs
- ProcessModelSection.cs
- KeyConverter.cs
- HandlerBase.cs
- ZipIORawDataFileBlock.cs
- Calendar.cs
- EnumValAlphaComparer.cs
- ConfigurationConverterBase.cs
- EventBuilder.cs
- EntityDataSourceStatementEditorForm.cs
- DesignTimeData.cs
- SmiEventSink_DeferedProcessing.cs
- HostingEnvironmentWrapper.cs
- XmlDictionaryWriter.cs
- XmlSerializationWriter.cs
- RegexGroup.cs
- DbCommandTree.cs
- indexingfiltermarshaler.cs
- BufferedGraphics.cs
- RsaElement.cs
- PeerPresenceInfo.cs
- SafeFindHandle.cs
- RsaSecurityKey.cs
- SqlInternalConnection.cs
- EFTableProvider.cs
- RegexStringValidatorAttribute.cs
- FormsAuthenticationEventArgs.cs
- CurrentChangedEventManager.cs
- ObjectListTitleAttribute.cs
- ColorDialog.cs
- ParentUndoUnit.cs
- AsynchronousChannel.cs
- MessageDescriptionCollection.cs
- CoTaskMemHandle.cs
- TransformPattern.cs
- WebBaseEventKeyComparer.cs
- Thread.cs
- StringCollection.cs
- FlowDocumentPage.cs
- ErrorEventArgs.cs
- ProxyAttribute.cs
- JoinTreeNode.cs
- ServiceNameCollection.cs
- MeshGeometry3D.cs
- Int32Storage.cs
- SmiContext.cs
- SizeKeyFrameCollection.cs
- DataGridViewToolTip.cs
- UIInitializationException.cs
- InkSerializer.cs
- UpdateManifestForBrowserApplication.cs
- RepeatButton.cs
- VisualStyleElement.cs
- FixedSOMPageElement.cs
- DefaultDiscoveryService.cs
- XmlSigningNodeWriter.cs
- Operator.cs
- AppDomainEvidenceFactory.cs
- x509utils.cs
- ReverseQueryOperator.cs
- LinqTreeNodeEvaluator.cs
- EventProxy.cs
- SiteMapSection.cs
- ControlEvent.cs
- EastAsianLunisolarCalendar.cs
- TypeConverterValueSerializer.cs