forked from laicasaane/unity-supplements
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIActionRef.cs
57 lines (47 loc) · 1.64 KB
/
IActionRef.cs
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
namespace System.Delegates
{
public interface IActionRef<TClosure>
{
void Invoke(ref TClosure closure);
}
public interface IActionRef<TClosure, in T> : IActionRef<TClosure>
{
void SetArguments(T arg);
}
public interface IActionRef<TClosure, in T1, in T2> : IActionRef<TClosure>
{
void SetArguments(T1 arg1, T2 arg2);
}
public interface IActionRef<TClosure, in T1, in T2, in T3> : IActionRef<TClosure>
{
void SetArguments(T1 arg1, T2 arg2, T3 arg3);
}
public interface IActionRef<TClosure, in T1, in T2, in T3, in T4> : IActionRef<TClosure>
{
void SetArguments(T1 arg1, T2 arg2, T3 arg3, T4 arg4);
}
public interface IActionRef<TClosure, in T1, in T2, in T3, in T4, in T5> : IActionRef<TClosure>
{
void SetArguments(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5);
}
public interface IActionRefArgIn<TClosure, T> : IActionRef<TClosure>
{
void SetArguments(in T arg);
}
public interface IActionRefArgIn<TClosure, T1, T2> : IActionRef<TClosure>
{
void SetArguments(in T1 arg1, in T2 arg2);
}
public interface IActionRefArgIn<TClosure, T1, T2, T3> : IActionRef<TClosure>
{
void SetArguments(in T1 arg1, in T2 arg2, in T3 arg3);
}
public interface IActionRefArgIn<TClosure, T1, T2, T3, T4> : IActionRef<TClosure>
{
void SetArguments(in T1 arg1, in T2 arg2, in T3 arg3, in T4 arg4);
}
public interface IActionRefArgIn<TClosure, T1, T2, T3, T4, T5> : IActionRef<TClosure>
{
void SetArguments(in T1 arg1, in T2 arg2, in T3 arg3, in T4 arg4, in T5 arg5);
}
}