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
- MaterialGroup.cs
- BrowserCapabilitiesCompiler.cs
- SystemColors.cs
- RuntimeConfig.cs
- UriSchemeKeyedCollection.cs
- ContentAlignmentEditor.cs
- WindowsFormsDesignerOptionService.cs
- GeneralTransform3D.cs
- Classification.cs
- Splitter.cs
- ChannelServices.cs
- OneWayElement.cs
- MyContact.cs
- LogLogRecord.cs
- IisTraceListener.cs
- TypeUtil.cs
- ScrollContentPresenter.cs
- LookupNode.cs
- WebEventCodes.cs
- MouseEventArgs.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SoapReflectionImporter.cs
- PackageDigitalSignatureManager.cs
- ResourceDescriptionAttribute.cs
- RawTextInputReport.cs
- HwndKeyboardInputProvider.cs
- DefaultValueAttribute.cs
- ActivationArguments.cs
- LinqDataSourceStatusEventArgs.cs
- BindingSource.cs
- SortQuery.cs
- CustomTypeDescriptor.cs
- XmlTextReader.cs
- ResourceReferenceKeyNotFoundException.cs
- ClientSettingsSection.cs
- AutomationAttributeInfo.cs
- safex509handles.cs
- PersonalizationProviderCollection.cs
- WithParamAction.cs
- Base64Stream.cs
- TrackingCondition.cs
- ResourcePermissionBaseEntry.cs
- ObsoleteAttribute.cs
- PropertyMappingExceptionEventArgs.cs
- FloatSumAggregationOperator.cs
- BaseCodePageEncoding.cs
- FormatterServices.cs
- LinqDataSourceUpdateEventArgs.cs
- XmlResolver.cs
- NameNode.cs
- CodeSnippetExpression.cs
- SqlXmlStorage.cs
- Canvas.cs
- HtmlInputFile.cs
- ScriptIgnoreAttribute.cs
- ReadWriteObjectLock.cs
- QueryCorrelationInitializer.cs
- Instrumentation.cs
- NullableDoubleSumAggregationOperator.cs
- TabControl.cs
- PackageDigitalSignature.cs
- XmlSchemaImporter.cs
- ResolveMatchesApril2005.cs
- XmlFormatWriterGenerator.cs
- XamlBrushSerializer.cs
- HttpProfileBase.cs
- FindRequestContext.cs
- nulltextnavigator.cs
- AspNetHostingPermission.cs
- TimeSpanValidatorAttribute.cs
- HttpDebugHandler.cs
- Paragraph.cs
- StatusBarPanel.cs
- MouseWheelEventArgs.cs
- TextBoxBaseDesigner.cs
- SynchronizationValidator.cs
- TextDpi.cs
- ExpressionBindingCollection.cs
- WebPartEditorOkVerb.cs
- PropertyIDSet.cs
- ArrayList.cs
- DataGridAddNewRow.cs
- DataGridViewCellStyleConverter.cs
- CollectionViewSource.cs
- DrawingServices.cs
- FaultContractAttribute.cs
- IndentedTextWriter.cs
- ListViewGroup.cs
- MessageBox.cs
- RewritingSimplifier.cs
- XmlWrappingReader.cs
- DayRenderEvent.cs
- Page.cs
- ServiceHttpModule.cs
- SemanticKeyElement.cs
- BamlBinaryWriter.cs
- WindowsSysHeader.cs
- MsmqInputChannel.cs
- SoapServerProtocol.cs
- EntityContainerEntitySetDefiningQuery.cs