0
|
1 namespace Demo.WebServices.Client.WebClient
|
|
2 {
|
|
3 #if !FW3
|
|
4
|
|
5 /// <summary>
|
|
6 /// Encapsulates a method that takes no parameters and does not return a value.
|
|
7 /// </summary>
|
|
8 public delegate void Action();
|
|
9
|
|
10 /// <summary>
|
|
11 /// Encapsulates a method that has two parameters and does not return a value.
|
|
12 /// </summary>
|
|
13 /// <param name="arg1">
|
|
14 /// The first parameter of the method that this delegate encapsulates.
|
|
15 /// </param>
|
|
16 /// <param name="arg2">
|
|
17 /// The second parameter of the method that this delegate encapsulates.
|
|
18 /// </param>
|
|
19 /// <typeparam name="T1">
|
|
20 /// The type of the first parameter of the method that this delegate encapsulates.
|
|
21 /// </typeparam>
|
|
22 /// <typeparam name="T2">
|
|
23 /// The type of the second parameter of the method that this delegate encapsulates.
|
|
24 /// </typeparam>
|
|
25 public delegate void Action<T1, T2>(T1 arg1, T2 arg2);
|
|
26
|
|
27 /// <summary>
|
|
28 /// Encapsulates a method that has three parameters and does not return a value.
|
|
29 /// </summary>
|
|
30 /// <param name="arg1">
|
|
31 /// The first parameter of the method that this delegate encapsulates.
|
|
32 /// </param>
|
|
33 /// <param name="arg2">
|
|
34 /// The second parameter of the method that this delegate encapsulates.
|
|
35 /// </param>
|
|
36 /// <param name="arg3">
|
|
37 /// The third parameter of the method that this delegate encapsulates.
|
|
38 /// </param>
|
|
39 /// <typeparam name="T1">
|
|
40 /// The type of the first parameter of the method that this delegate encapsulates.
|
|
41 /// </typeparam>
|
|
42 /// <typeparam name="T2">
|
|
43 /// The type of the second parameter of the method that this delegate encapsulates.
|
|
44 /// </typeparam>
|
|
45 /// <typeparam name="T3">
|
|
46 /// The type of the third parameter of the method that this delegate encapsulates.
|
|
47 /// </typeparam>
|
|
48 public delegate void Action<T1, T2, T3>(T1 arg1, T2 arg2, T3 arg3);
|
|
49
|
|
50 /// <summary>
|
|
51 /// Encapsulates a method that has four parameters and does not return a value.
|
|
52 /// </summary>
|
|
53 /// <param name="arg1">
|
|
54 /// The first parameter of the method that this delegate encapsulates.
|
|
55 /// </param>
|
|
56 /// <param name="arg2">
|
|
57 /// The second parameter of the method that this delegate encapsulates.
|
|
58 /// </param>
|
|
59 /// <param name="arg3">
|
|
60 /// The third parameter of the method that this delegate encapsulates.
|
|
61 /// </param>
|
|
62 /// <param name="arg4">
|
|
63 /// The fourth parameter of the method that this delegate encapsulates.
|
|
64 /// </param>
|
|
65 /// <typeparam name="T1">
|
|
66 /// The type of the first parameter of the method that this delegate encapsulates.
|
|
67 /// </typeparam>
|
|
68 /// <typeparam name="T2">
|
|
69 /// The type of the second parameter of the method that this delegate encapsulates.
|
|
70 /// </typeparam>
|
|
71 /// <typeparam name="T3">
|
|
72 /// The type of the third parameter of the method that this delegate encapsulates.
|
|
73 /// </typeparam>
|
|
74 /// <typeparam name="T4">
|
|
75 /// The type of the fourth parameter of the method that this delegate encapsulates.
|
|
76 /// </typeparam>
|
|
77 public delegate void Action<T1, T2, T3, T4>(T1 arg1, T2 arg2, T3 arg3, T4 arg4);
|
|
78
|
|
79 #endif
|
|
80 }
|