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
- EmbeddedMailObjectsCollection.cs
- DataGridComponentEditor.cs
- SqlMethodAttribute.cs
- SolidColorBrush.cs
- DataColumnMappingCollection.cs
- BitVector32.cs
- TransactionScopeDesigner.cs
- LinqDataSourceView.cs
- DesignerWidgets.cs
- LinearGradientBrush.cs
- GenericWebPart.cs
- BooleanExpr.cs
- LinkDesigner.cs
- DesigntimeLicenseContext.cs
- DbQueryCommandTree.cs
- TargetPerspective.cs
- ExceptionUtil.cs
- RSAProtectedConfigurationProvider.cs
- PerfCounterSection.cs
- MenuRendererStandards.cs
- AssociationType.cs
- EventWaitHandleSecurity.cs
- AutoSizeComboBox.cs
- MailWriter.cs
- SqlExpander.cs
- MissingMemberException.cs
- CaseStatement.cs
- AssemblyBuilderData.cs
- EventlogProvider.cs
- UIElementIsland.cs
- WindowAutomationPeer.cs
- CaseStatement.cs
- MembershipSection.cs
- DistributedTransactionPermission.cs
- DataServiceQuery.cs
- WebBrowserProgressChangedEventHandler.cs
- AesManaged.cs
- UidManager.cs
- ImageList.cs
- IisTraceListener.cs
- WebPartUtil.cs
- BookmarkEventArgs.cs
- GeneralTransform.cs
- SlotInfo.cs
- Propagator.Evaluator.cs
- PagesChangedEventArgs.cs
- ResourceKey.cs
- Vector3DCollectionValueSerializer.cs
- VersionPair.cs
- FlowchartSizeFeature.cs
- DropShadowEffect.cs
- NetPipeSection.cs
- FlowDocumentFormatter.cs
- FloaterParaClient.cs
- SqlDataReader.cs
- ComplexObject.cs
- DataContractJsonSerializerOperationBehavior.cs
- Regex.cs
- SpellerInterop.cs
- CompilationLock.cs
- TextParentUndoUnit.cs
- FilteredAttributeCollection.cs
- PropertyReferenceSerializer.cs
- BooleanFunctions.cs
- SessionStateContainer.cs
- InOutArgument.cs
- ExpressionCopier.cs
- XmlChildNodes.cs
- _ChunkParse.cs
- SupportsEventValidationAttribute.cs
- RangeBase.cs
- ArraySortHelper.cs
- QilVisitor.cs
- FormViewUpdatedEventArgs.cs
- DataDocumentXPathNavigator.cs
- PreloadedPackages.cs
- Activation.cs
- CultureSpecificStringDictionary.cs
- RsaElement.cs
- MatchAttribute.cs
- MiniConstructorInfo.cs
- AsyncDataRequest.cs
- _AutoWebProxyScriptHelper.cs
- Size.cs
- Convert.cs
- BitmapPalette.cs
- WebEvents.cs
- SystemWebSectionGroup.cs
- TCPListener.cs
- CodeMethodInvokeExpression.cs
- ToolStripPanelRow.cs
- DefaultTextStore.cs
- PartitionResolver.cs
- InvalidPropValue.cs
- DataBoundControl.cs
- EdmProperty.cs
- NeutralResourcesLanguageAttribute.cs
- LookupBindingPropertiesAttribute.cs
- Error.cs
- HttpServerChannel.cs