Encapsulating Action and Func?

前端 未结 4 1978
轮回少年
轮回少年 2021-02-08 09:42

I\'m trying to make a design for some sort of IExecutable interface. I will not get into details, but the point is that I have several Actions that need to be executed from a ba

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-08 09:53

    You know that you can ignore the return value of a method right? You don't have to use it.

提交回复
热议问题