Freigeben über


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

Definition

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)

Typparameter

TDelegate

Parameter

eventName
String
action
TDelegate

Gilt für: