Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果您需要该命令返回一个值并具有参数,我很感兴趣使用命令模式是否有意义?正如定义的那样, ICommand 应该有一个 void Execute() 方法,而我感兴趣的情况是从那一步开始?谢谢你。