LifecycleEventServiceExtensions.InvokeEvents メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
InvokeEvents(ILifecycleEventService, String) | |
InvokeEvents<TDelegate>(ILifecycleEventService, String, Action<TDelegate>) |
InvokeEvents(ILifecycleEventService, String)
public:
[System::Runtime::CompilerServices::Extension]
static void InvokeEvents(Microsoft::Maui::LifecycleEvents::ILifecycleEventService ^ lifecycleService, System::String ^ eventName);
public static void InvokeEvents (this Microsoft.Maui.LifecycleEvents.ILifecycleEventService lifecycleService, string eventName);
static member InvokeEvents : Microsoft.Maui.LifecycleEvents.ILifecycleEventService * string -> unit
<Extension()>
Public Sub InvokeEvents (lifecycleService As ILifecycleEventService, eventName As String)
パラメーター
- lifecycleService
- ILifecycleEventService
- eventName
- String
適用対象
InvokeEvents<TDelegate>(ILifecycleEventService, String, Action<TDelegate>)
public:
generic <typename TDelegate>
where TDelegate : Delegate[System::Runtime::CompilerServices::Extension]
static void InvokeEvents(Microsoft::Maui::LifecycleEvents::ILifecycleEventService ^ lifecycleService, System::String ^ eventName, Action<TDelegate> ^ action);
public static void InvokeEvents<TDelegate> (this Microsoft.Maui.LifecycleEvents.ILifecycleEventService lifecycleService, string eventName, Action<TDelegate> action) where TDelegate : Delegate;
static member InvokeEvents : Microsoft.Maui.LifecycleEvents.ILifecycleEventService * string * Action<'Delegate (requires 'Delegate :> Delegate)> -> unit (requires 'Delegate :> Delegate)
<Extension()>
Public Sub InvokeEvents(Of TDelegate As Delegate) (lifecycleService As ILifecycleEventService, eventName As String, action As Action(Of TDelegate))
型パラメーター
- TDelegate
パラメーター
- lifecycleService
- ILifecycleEventService
- eventName
- String
- action
- Action<TDelegate>