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
- TimeSpanMinutesConverter.cs
- XPathAncestorQuery.cs
- IdentityNotMappedException.cs
- RsaElement.cs
- AttributedMetaModel.cs
- ObjectHandle.cs
- TimeZone.cs
- CapabilitiesRule.cs
- WmlValidatorAdapter.cs
- DropDownButton.cs
- AssociationSetEnd.cs
- EditorZoneBase.cs
- FakeModelPropertyImpl.cs
- TextTreeTextElementNode.cs
- XPathChildIterator.cs
- RegexCapture.cs
- TabPage.cs
- XPathParser.cs
- RuleSetCollection.cs
- RoutedCommand.cs
- Matrix.cs
- UnknownMessageReceivedEventArgs.cs
- ObjectQueryProvider.cs
- CompareValidator.cs
- RoutedPropertyChangedEventArgs.cs
- Parsers.cs
- FontDriver.cs
- TraceLevelStore.cs
- SuppressMessageAttribute.cs
- DataGridViewLayoutData.cs
- WebPartCollection.cs
- ScalarConstant.cs
- ValidatorCompatibilityHelper.cs
- AutoResizedEvent.cs
- FormViewPagerRow.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- EdmPropertyAttribute.cs
- ISAPIApplicationHost.cs
- DataGridViewDesigner.cs
- WebReferencesBuildProvider.cs
- DesignerAdapterUtil.cs
- StaticResourceExtension.cs
- GeometryGroup.cs
- RTLAwareMessageBox.cs
- TextSelectionHighlightLayer.cs
- ModifierKeysConverter.cs
- Size3DConverter.cs
- Inflater.cs
- ShapingEngine.cs
- PrintDialogDesigner.cs
- XmlSchemaCompilationSettings.cs
- SafeTimerHandle.cs
- State.cs
- DecimalSumAggregationOperator.cs
- InputDevice.cs
- RtfToken.cs
- DoubleAnimation.cs
- SerializationException.cs
- DockProviderWrapper.cs
- SurrogateChar.cs
- CookielessHelper.cs
- Constraint.cs
- Visitor.cs
- Metadata.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- CompleteWizardStep.cs
- cookiecollection.cs
- QilCloneVisitor.cs
- SecurityTokenRequirement.cs
- BindUriHelper.cs
- StrongNameSignatureInformation.cs
- PermissionAttributes.cs
- Calendar.cs
- ColorAnimation.cs
- panel.cs
- OleDbPropertySetGuid.cs
- TextSearch.cs
- OrCondition.cs
- XmlWellformedWriter.cs
- ModuleBuilderData.cs
- DataBindEngine.cs
- TransformPattern.cs
- ColumnMapVisitor.cs
- MetadataArtifactLoader.cs
- HtmlGenericControl.cs
- ToolStripRendererSwitcher.cs
- SafeRightsManagementHandle.cs
- DependsOnAttribute.cs
- DocumentViewerBase.cs
- oledbmetadatacollectionnames.cs
- WebPermission.cs
- OdbcPermission.cs
- EdmConstants.cs
- FileNotFoundException.cs
- OleDbTransaction.cs
- ConcurrencyBehavior.cs
- OLEDB_Util.cs
- TypeBuilder.cs
- Composition.cs
- SoapAttributes.cs