Calling delegates individually?

前端 未结 4 1529
逝去的感伤
逝去的感伤 2021-02-15 02:56

if I have a delegate like so:

 Delegate void Render();
 Render ToRender;

And use it here:

 ToRender += FunctionRender;
 ToRende         


        
4条回答
  •  执笔经年
    2021-02-15 03:28

    ToRender.GetInvocationList returns an array of all delegates contained on the "list".

提交回复
热议问题