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

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)

Type Parameters

TDelegate

Parameters

eventName
String
action
TDelegate

Applies to