Please enable JavaScript.
Coggle requires JavaScript to display documents.
DELEGATES - Coggle Diagram
DELEGATES
INBUILT
From-.NET
System
.Action
.Func
Action<>
TakeUpto
16-Params
Func<[..,] out TResult>
TakeUpto
17-Params
1-TResult
Including
Using
void Process(..)
Args
...,
Action<Photo> handler
In-Main
Action<Photo> handler
= someMethod
IS-OBJECT
Knows
Calling
Method
GroupOf
To-Design
Extensible
Flexible
Apps
Use-Delegates
Over
Inteface
When
Eventing
Design
Pattern
No-Need
Methods
Properties
Of-Implementor
INSPECTING
HandlerVars
Delegates
Created
Delegate
Keyword
Inherits
System
.MulticastDelegate
MulticastDelegate
Inherits
System.Delegate
Member
Non-public
_invocationList
MethodsList
Allows
Multiple
Function
Pointers
System.Delegate
2-props
Method
PointsToMethod
Target
Class
HoldingMethod
CUSTOM
If-Signature
void func(string var)
In-Class
public delegate
void
DelegateName(string var)
void Process(..)
Args
.., DelegateName dlg
dlg(var)
In-Main
handler
= someMethod
SomeCls.DelegateName
handler +=
otherMethod
someClsObj.Process(..., handler)