When forming an event, it is convenient to use the delegate Action<T1,T2> When subscribing to an event, a function is formed with the signature specified by the delegate, but the names of the variables are set automatically and not very convenient. Is it possible to specify the names of variables when describing the Action<T1,T2> delegate?
Ideally, I wanted something like
[Attribute("index", "countDevice", "temperature")] public event Action<ushort, ushort, float> MyEvent; thus the code will be clear for use