Code:
/ DotNET / DotNET / 8.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
- BinaryObjectWriter.cs
- ReachFixedPageSerializerAsync.cs
- ListViewSortEventArgs.cs
- InstanceDataCollectionCollection.cs
- _ScatterGatherBuffers.cs
- PropertyItemInternal.cs
- CallbackTimeoutsBehavior.cs
- DataMisalignedException.cs
- IdnElement.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- TextDecorationCollectionConverter.cs
- WCFModelStrings.Designer.cs
- TextRenderingModeValidation.cs
- DispatcherObject.cs
- XmlCompatibilityReader.cs
- HttpContextServiceHost.cs
- ellipse.cs
- MetadataPropertyAttribute.cs
- Part.cs
- ColorContextHelper.cs
- ipaddressinformationcollection.cs
- StrongNameKeyPair.cs
- StorageEntityTypeMapping.cs
- ArrayTypeMismatchException.cs
- TextProperties.cs
- TextViewBase.cs
- NoClickablePointException.cs
- CatalogZoneBase.cs
- UnsettableComboBox.cs
- CodeGenerator.cs
- DesignTimeParseData.cs
- ContourSegment.cs
- DocumentPage.cs
- GacUtil.cs
- DefaultShape.cs
- UpdateEventArgs.cs
- FileLevelControlBuilderAttribute.cs
- typedescriptorpermission.cs
- Rect3D.cs
- XmlSchemas.cs
- TypeCodeDomSerializer.cs
- DataGridViewLayoutData.cs
- BamlStream.cs
- InputScopeConverter.cs
- PolicyFactory.cs
- SQLInt32Storage.cs
- SimpleNameService.cs
- ClientBuildManagerCallback.cs
- Int32CollectionValueSerializer.cs
- DocComment.cs
- NameValuePermission.cs
- DataMisalignedException.cs
- CellPartitioner.cs
- DirectionalLight.cs
- TrustLevel.cs
- PackageProperties.cs
- PartialCachingAttribute.cs
- CompositeActivityDesigner.cs
- URLAttribute.cs
- SmtpFailedRecipientException.cs
- DrawingAttributes.cs
- ResourceReferenceKeyNotFoundException.cs
- FormViewDeleteEventArgs.cs
- ShaderRenderModeValidation.cs
- Stopwatch.cs
- DataKey.cs
- GradientStopCollection.cs
- WorkBatch.cs
- MissingMemberException.cs
- SmtpAuthenticationManager.cs
- ContourSegment.cs
- InputLanguageProfileNotifySink.cs
- CodeAssignStatement.cs
- VSWCFServiceContractGenerator.cs
- CodeVariableDeclarationStatement.cs
- TimeEnumHelper.cs
- NonSerializedAttribute.cs
- OLEDB_Enum.cs
- DataControlPagerLinkButton.cs
- BitmapEffectDrawingContextWalker.cs
- BindableAttribute.cs
- SqlNodeAnnotations.cs
- TextBoxAutomationPeer.cs
- XhtmlBasicListAdapter.cs
- AccessDataSourceView.cs
- HttpHandlerActionCollection.cs
- CallbackHandler.cs
- Condition.cs
- CombinedGeometry.cs
- GraphicsContainer.cs
- MappingModelBuildProvider.cs
- ToolboxBitmapAttribute.cs
- Delegate.cs
- RegionData.cs
- CultureInfo.cs
- DataTableNewRowEvent.cs
- Line.cs
- DataServiceConfiguration.cs
- CompositeDispatchFormatter.cs
- CodeTypeReferenceSerializer.cs