Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / CodeDOM / CodeDelegateCreateExpression.cs / 1 / CodeDelegateCreateExpression.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 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; } } } }/// Gets or sets the method name. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FtpWebRequest.cs
- MenuCommand.cs
- NativeRightsManagementAPIsStructures.cs
- InteropAutomationProvider.cs
- ThrowHelper.cs
- InvalidDataException.cs
- DataGridCellEditEndingEventArgs.cs
- MutexSecurity.cs
- NotifyIcon.cs
- SafePointer.cs
- EncoderExceptionFallback.cs
- OSFeature.cs
- SelectionPatternIdentifiers.cs
- DesignerValidationSummaryAdapter.cs
- MetadataSource.cs
- TableRowCollection.cs
- Range.cs
- FormParameter.cs
- PageCatalogPartDesigner.cs
- EnumBuilder.cs
- InstallerTypeAttribute.cs
- SchemaImporterExtensionElement.cs
- SourceFileInfo.cs
- Helpers.cs
- StatusBar.cs
- RMPublishingDialog.cs
- AbandonedMutexException.cs
- LocatorPartList.cs
- PrtCap_Builder.cs
- CTreeGenerator.cs
- InputBindingCollection.cs
- DbCommandTree.cs
- ContextBase.cs
- CngProvider.cs
- PreservationFileReader.cs
- UrlMappingsSection.cs
- ProcessStartInfo.cs
- BufferModesCollection.cs
- QueryCacheEntry.cs
- ManipulationVelocities.cs
- UrlAuthFailedErrorFormatter.cs
- ItemCheckedEvent.cs
- EnterpriseServicesHelper.cs
- Debugger.cs
- IpcManager.cs
- UpDownEvent.cs
- RsaSecurityKey.cs
- _ScatterGatherBuffers.cs
- MetaColumn.cs
- MemberDescriptor.cs
- XmlSerializer.cs
- HotSpotCollection.cs
- ModuleBuilderData.cs
- SafeNativeMethods.cs
- ConnectionStringsSection.cs
- CellParagraph.cs
- QueryParameter.cs
- TableLayoutCellPaintEventArgs.cs
- GenericFlowSwitchHelper.cs
- SecurityManager.cs
- ObjectSet.cs
- ProfileService.cs
- CompilationUtil.cs
- DetailsView.cs
- WorkflowItemsPresenter.cs
- ScrollContentPresenter.cs
- LocalizeDesigner.cs
- BinaryFormatterWriter.cs
- SdlChannelSink.cs
- UTF32Encoding.cs
- PrintingPermission.cs
- DefaultObjectMappingItemCollection.cs
- CssTextWriter.cs
- CanonicalXml.cs
- NameObjectCollectionBase.cs
- HandleExceptionArgs.cs
- ProcessThreadCollection.cs
- SelectingProviderEventArgs.cs
- DataGridViewLinkColumn.cs
- CharStorage.cs
- SafeSystemMetrics.cs
- RoutedUICommand.cs
- MediaCommands.cs
- PasswordTextContainer.cs
- _FixedSizeReader.cs
- ControlCachePolicy.cs
- ObjectParameterCollection.cs
- BinaryKeyIdentifierClause.cs
- PolicyFactory.cs
- TextTreeObjectNode.cs
- ItemDragEvent.cs
- EncoderParameters.cs
- DataGridViewRowPrePaintEventArgs.cs
- BinaryFormatter.cs
- _UriSyntax.cs
- DependencyObject.cs
- PreProcessInputEventArgs.cs
- ShaderEffect.cs
- XmlImplementation.cs
- EntityCommandCompilationException.cs