IEvent.cs 267 B

12345678910111213141516171819202122
  1. namespace Hotfix
  2. {
  3. public interface IEvent
  4. {
  5. void Run();
  6. }
  7. public interface IEvent<in A>
  8. {
  9. void Run(A a);
  10. }
  11. public interface IEvent<in A, in B>
  12. {
  13. void Run(A a, B b);
  14. }
  15. public interface IEvent<in A, in B, in C>
  16. {
  17. void Run(A a, B b, C c);
  18. }
  19. }