Interface IDotNetDelegate
Model definition of a delegate in .net.
Inherited Members
Namespace: CodeFactory.DotNet
Assembly: CodeFactory.DotNet.dll
Syntax
public interface IDotNetDelegate : IDotNetModel, IModelStatus, IDotNetAttributes, IDotNetGeneric, IDocumentation, IParent, ILookup, ISourceFiles
Properties
| Improve this Doc View SourceBeginInvokeMethod
The begin invoke method definition for this delegate.
Declaration
IDotNetMethod BeginInvokeMethod { get; }
Property Value
Type | Description |
---|---|
IDotNetMethod |
EndInvokeMethod
The end invoke method definition for this delegate.
Declaration
IDotNetMethod EndInvokeMethod { get; }
Property Value
Type | Description |
---|---|
IDotNetMethod |
HasParameters
Flag that determines if the method has parameters assigned to it.
Declaration
bool HasParameters { get; }
Property Value
Type | Description |
---|---|
bool |
InvokeMethod
The invoke method definition for this delegate.
Declaration
IDotNetMethod InvokeMethod { get; }
Property Value
Type | Description |
---|---|
IDotNetMethod |
IsVoid
Flag that determines if the delegate return is a void.
Declaration
bool IsVoid { get; }
Property Value
Type | Description |
---|---|
bool |
Name
The name assigned to the this item.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
string |
Namespace
The namespace the delegate is assigned to.
Declaration
string Namespace { get; }
Property Value
Type | Description |
---|---|
string |
Parameters
List of the parameters that have been assigned to the delegate. If HasParameters property is set to false this will be an empty list.
Declaration
IReadOnlyList<IDotNetParameter> Parameters { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<IDotNetParameter> |
ReturnType
The type information about the return type assigned to the method.
Declaration
IDotNetType ReturnType { get; }
Property Value
Type | Description |
---|---|
IDotNetType |
Security
The security scope that has been assigned to this item.
Declaration
DotNetSecurity Security { get; }
Property Value
Type | Description |
---|---|
DotNetSecurity |