Sdílet prostřednictvím


ILifecycleBuilder.AddEvent<TDelegate>(String, TDelegate) Metoda

Definice

public:
generic <typename TDelegate>
 where TDelegate : Delegate void AddEvent(System::String ^ eventName, TDelegate action);
public void AddEvent<TDelegate> (string eventName, TDelegate action) where TDelegate : Delegate;
abstract member AddEvent : string * 'Delegate -> unit (requires 'Delegate :> Delegate)
Public Sub AddEvent(Of TDelegate As Delegate) (eventName As String, action As TDelegate)

Parametry typu

TDelegate

Parametry

eventName
String
action
TDelegate

Platí pro