Code:
/ 4.0 / 4.0 / 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. /// ///// // //----------------------------------------------------------------------------- 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
- MILUtilities.cs
- Rights.cs
- IpcChannelHelper.cs
- RelOps.cs
- TPLETWProvider.cs
- TableTextElementCollectionInternal.cs
- PageFunction.cs
- FilterQueryOptionExpression.cs
- CatalogPart.cs
- WebPartZoneDesigner.cs
- AnnotationDocumentPaginator.cs
- CodeValidator.cs
- AttachedAnnotation.cs
- DataGrid.cs
- DataGridViewTextBoxEditingControl.cs
- DefinitionUpdate.cs
- DoubleAnimationUsingKeyFrames.cs
- ChannelManager.cs
- SurrogateChar.cs
- SerializationEventsCache.cs
- QueryGeneratorBase.cs
- EntityDataSourceUtil.cs
- SurrogateEncoder.cs
- OverloadGroupAttribute.cs
- GridViewRowPresenter.cs
- PrivateFontCollection.cs
- SocketException.cs
- SingleStorage.cs
- AccessDataSourceWizardForm.cs
- DataView.cs
- FigureHelper.cs
- CapabilitiesAssignment.cs
- EventToken.cs
- BoolExpr.cs
- XmlReturnReader.cs
- ControlParameter.cs
- UniqueIdentifierService.cs
- XmlDocumentFieldSchema.cs
- InstanceDataCollection.cs
- CellIdBoolean.cs
- ThreadStateException.cs
- BounceEase.cs
- UserNameSecurityTokenProvider.cs
- UnaryQueryOperator.cs
- counter.cs
- GifBitmapEncoder.cs
- ToolbarAUtomationPeer.cs
- TailPinnedEventArgs.cs
- DefaultTypeArgumentAttribute.cs
- LazyTextWriterCreator.cs
- SimpleHandlerFactory.cs
- CompositeFontInfo.cs
- ProgressBar.cs
- StringSource.cs
- odbcmetadatafactory.cs
- XmlStringTable.cs
- ConnectionProviderAttribute.cs
- XPathNavigatorKeyComparer.cs
- TextCollapsingProperties.cs
- IPEndPointCollection.cs
- CodeConstructor.cs
- PageHandlerFactory.cs
- DocumentOrderQuery.cs
- ObjectQueryProvider.cs
- DefaultWorkflowSchedulerService.cs
- SamlAttribute.cs
- ActivatableWorkflowsQueryResult.cs
- StringUtil.cs
- RecognizerBase.cs
- InternalCache.cs
- ParseNumbers.cs
- SocketInformation.cs
- DocumentApplication.cs
- Scripts.cs
- Timer.cs
- SqlCacheDependency.cs
- ClientType.cs
- Trace.cs
- WebPartActionVerb.cs
- KnownTypesProvider.cs
- ExpandCollapsePattern.cs
- SqlFactory.cs
- ProfilePropertyNameValidator.cs
- DbExpressionVisitor.cs
- ForwardPositionQuery.cs
- EventLogPermissionEntry.cs
- InputLanguageCollection.cs
- MarshalDirectiveException.cs
- AppearanceEditorPart.cs
- AspNetPartialTrustHelpers.cs
- DbSource.cs
- InputLanguageEventArgs.cs
- __Filters.cs
- RepeaterCommandEventArgs.cs
- DurableInstanceContextProvider.cs
- SectionVisual.cs
- dtdvalidator.cs
- EllipseGeometry.cs
- ServiceModelStringsVersion1.cs
- List.cs