Encapsulating Action and Func?

前端 未结 4 830
说谎
说谎 2021-02-08 06:29

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条回答
  •  情书的邮戳
    2021-02-08 06:50

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

提交回复
热议问题