网演高层钦州
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
763 B

#if NET20 || NET30
namespace System
{
/// <summary>
/// Encapsulates a method that has 2 parameters and does not return a value.
/// </summary>
/// <typeparam name="T1">The type of the first parameter of the method that this delegate encapsulates.</typeparam>
/// <typeparam name="T2">The type of the second parameter of the method that this delegate encapsulates.</typeparam>
/// <param name="arg1">The first parameter of the method that this delegate encapsulates.</param>
/// <param name="arg2">The second parameter of the method that this delegate encapsulates.</param>
#if NETCF
public delegate void Action<T1, T2>(T1 arg1, T2 arg2);
#else
public delegate void Action<in T1, in T2>(T1 arg1, T2 arg2);
#endif
}
#endif