Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// The expression to cast. /// ///// 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; } } } } // 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
- PropertyKey.cs
- GreenMethods.cs
- ReferenceEqualityComparer.cs
- WindowsListViewGroup.cs
- RealizationDrawingContextWalker.cs
- EmptyStringExpandableObjectConverter.cs
- ModelUIElement3D.cs
- EventBindingService.cs
- DataServiceProviderMethods.cs
- SiteMapDataSourceView.cs
- _SslState.cs
- TableStyle.cs
- XPathNodePointer.cs
- CodeExpressionStatement.cs
- WebPartTransformerAttribute.cs
- DBDataPermissionAttribute.cs
- activationcontext.cs
- XmlSchemaAny.cs
- ExclusiveHandle.cs
- ILGenerator.cs
- MediaContext.cs
- LogWriteRestartAreaAsyncResult.cs
- DivideByZeroException.cs
- LocationInfo.cs
- MenuCommands.cs
- RunClient.cs
- InvokeBinder.cs
- COMException.cs
- Simplifier.cs
- RegisteredScript.cs
- AsyncCompletedEventArgs.cs
- AuthorizationRule.cs
- DisplayInformation.cs
- ColorAnimationUsingKeyFrames.cs
- TypeContext.cs
- ECDsa.cs
- CreateUserErrorEventArgs.cs
- XmlSchemaValidationException.cs
- Permission.cs
- AVElementHelper.cs
- AnonymousIdentificationModule.cs
- ParserExtension.cs
- NameObjectCollectionBase.cs
- DecoderFallback.cs
- Matrix3D.cs
- SQLResource.cs
- BindingValueChangedEventArgs.cs
- TraceFilter.cs
- ResourceType.cs
- TableCellAutomationPeer.cs
- FontWeightConverter.cs
- PropagatorResult.cs
- WindowShowOrOpenTracker.cs
- ProfilePropertySettings.cs
- StreamWithDictionary.cs
- infer.cs
- PropertyMetadata.cs
- ClonableStack.cs
- QuotedPrintableStream.cs
- ResourceManager.cs
- HttpListenerPrefixCollection.cs
- TableLayoutColumnStyleCollection.cs
- VectorKeyFrameCollection.cs
- DesignerDataRelationship.cs
- HMACSHA256.cs
- OutputCacheProfileCollection.cs
- XPathDescendantIterator.cs
- PropertyCondition.cs
- WFItemsToSpacerVisibility.cs
- RtfFormatStack.cs
- SemanticResolver.cs
- OleDbConnectionInternal.cs
- AppSecurityManager.cs
- NetNamedPipeBindingElement.cs
- CodeAssignStatement.cs
- XsdValidatingReader.cs
- ShortcutKeysEditor.cs
- SystemNetworkInterface.cs
- TypeDelegator.cs
- ParseChildrenAsPropertiesAttribute.cs
- KeyValuePair.cs
- FixedSOMFixedBlock.cs
- WinFormsSecurity.cs
- IisTraceWebEventProvider.cs
- EventLogPermissionAttribute.cs
- Matrix.cs
- ActivityExecutorDelegateInfo.cs
- WebPartDisplayModeCollection.cs
- XmlSchemaComplexContentExtension.cs
- DesignerLoader.cs
- CompilationUtil.cs
- ApplicationBuildProvider.cs
- TransportSecurityHelpers.cs
- DataPagerField.cs
- Tokenizer.cs
- TcpTransportBindingElement.cs
- Operand.cs
- BlurBitmapEffect.cs
- Matrix3D.cs
- SelectionChangedEventArgs.cs