Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeDelegateCreateExpression.cs / 1305376 / CodeDelegateCreateExpression.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 CodeDelegateCreateExpression : CodeExpression { private CodeTypeReference delegateType; private CodeExpression targetObject; private string methodName; ////// Represents a delegate creation expression. /// ////// public CodeDelegateCreateExpression() { } ////// Initializes a new instance of ///. /// /// public CodeDelegateCreateExpression(CodeTypeReference delegateType, CodeExpression targetObject, string methodName) { this.delegateType = delegateType; this.targetObject = targetObject; this.methodName = methodName; } ////// Initializes a new instance of ///. /// /// public CodeTypeReference DelegateType { get { if (delegateType == null) { delegateType = new CodeTypeReference(""); } return delegateType; } set { delegateType = value; } } ////// Gets or sets the delegate type. /// ////// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// Gets or sets the target object. /// ////// public string MethodName { get { return (methodName == null) ? string.Empty : methodName; } set { methodName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets the method name. /// ///// // //----------------------------------------------------------------------------- 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 CodeDelegateCreateExpression : CodeExpression { private CodeTypeReference delegateType; private CodeExpression targetObject; private string methodName; ////// Represents a delegate creation expression. /// ////// public CodeDelegateCreateExpression() { } ////// Initializes a new instance of ///. /// /// public CodeDelegateCreateExpression(CodeTypeReference delegateType, CodeExpression targetObject, string methodName) { this.delegateType = delegateType; this.targetObject = targetObject; this.methodName = methodName; } ////// Initializes a new instance of ///. /// /// public CodeTypeReference DelegateType { get { if (delegateType == null) { delegateType = new CodeTypeReference(""); } return delegateType; } set { delegateType = value; } } ////// Gets or sets the delegate type. /// ////// public CodeExpression TargetObject { get { return targetObject; } set { targetObject = value; } } ////// Gets or sets the target object. /// ////// public string MethodName { get { return (methodName == null) ? string.Empty : methodName; } set { methodName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets or sets the method name. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpBrowserCapabilitiesWrapper.cs
- RowCache.cs
- TypeEnumerableViewSchema.cs
- ControlType.cs
- StructuredType.cs
- CodeCatchClause.cs
- DataTableClearEvent.cs
- RightsManagementLicense.cs
- ConnectionConsumerAttribute.cs
- MailAddressParser.cs
- SelectionRangeConverter.cs
- ErrorProvider.cs
- DataGridViewRow.cs
- _HelperAsyncResults.cs
- SqlGenericUtil.cs
- TableLayoutPanelDesigner.cs
- CollectionView.cs
- FileAuthorizationModule.cs
- DeviceSpecificDialogCachedState.cs
- HandledEventArgs.cs
- Environment.cs
- XmlEnumAttribute.cs
- SiteMapNodeItemEventArgs.cs
- XamlBrushSerializer.cs
- AssociatedControlConverter.cs
- XamlClipboardData.cs
- EncoderFallback.cs
- DataGridState.cs
- Size3DValueSerializer.cs
- PassportAuthenticationModule.cs
- DesignerTransaction.cs
- UIElement3D.cs
- QuotedPrintableStream.cs
- _WebProxyDataBuilder.cs
- webbrowsersite.cs
- PieceDirectory.cs
- ObjectComplexPropertyMapping.cs
- TabletCollection.cs
- TemplatePartAttribute.cs
- dsa.cs
- AbandonedMutexException.cs
- ObjectStorage.cs
- RootBrowserWindowProxy.cs
- Span.cs
- UnconditionalPolicy.cs
- MimeParameterWriter.cs
- MetadataItemSerializer.cs
- CompilerResults.cs
- PropertyNames.cs
- odbcmetadatacollectionnames.cs
- SkinBuilder.cs
- ItemContainerProviderWrapper.cs
- XmlEncoding.cs
- TypeDescriptionProviderAttribute.cs
- OleDbStruct.cs
- ProcessThread.cs
- UniqueEventHelper.cs
- TextBlock.cs
- SuspendDesigner.cs
- SqlServices.cs
- UserControlAutomationPeer.cs
- TypeConverterHelper.cs
- UpdatePanelControlTrigger.cs
- ItemAutomationPeer.cs
- WebPartZone.cs
- Operators.cs
- DataGridViewCellStyle.cs
- WindowsFormsHostAutomationPeer.cs
- TileModeValidation.cs
- FontFamily.cs
- TextEndOfParagraph.cs
- StylusDownEventArgs.cs
- TypefaceCollection.cs
- DragDrop.cs
- XPathDocumentNavigator.cs
- FormClosingEvent.cs
- MultitargetingHelpers.cs
- HtmlValidatorAdapter.cs
- EntityDataSourceUtil.cs
- FileLevelControlBuilderAttribute.cs
- SettingsPropertyIsReadOnlyException.cs
- ExpressionNormalizer.cs
- ConstructorExpr.cs
- ExtendedPropertyCollection.cs
- NonNullItemCollection.cs
- IPPacketInformation.cs
- DataGridCellInfo.cs
- PieceNameHelper.cs
- SingleConverter.cs
- FrameworkContextData.cs
- TextPointer.cs
- EnumBuilder.cs
- OptimalTextSource.cs
- Interop.cs
- LoginUtil.cs
- ItemCheckedEvent.cs
- ZoneMembershipCondition.cs
- SqlCacheDependencyDatabase.cs
- SerializationIncompleteException.cs
- ColumnTypeConverter.cs