IEvent.cs 564 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
namespace Model
{
	public interface IEvent
	{
		void Run();
	}

	public interface IEvent<in A>
	{
		void Run(A uid);
	}

	public interface IEvent<in A, in B>
	{
		void Run(A a, B b);
	}

	public interface IEvent<in A, in B, in C>
	{
		void Run(A a, B b, C c);
	}

	public interface IEvent<in A, in B, in C, in D>
	{
		void Run(A a, B b, C c, D d);
	}

	public interface IEvent<in A, in B, in C, in D, in E>
	{
		void Run(A a, B b, C c, D d, E e);
	}

	public interface IEvent<in A, in B, in C, in D, in E, in F>
	{
		void Run(A a, B b, C c, D d, E e, F f);
	}
}