共用方式為


LifecycleEventService 類別

定義

public ref class LifecycleEventService : Microsoft::Maui::LifecycleEvents::ILifecycleBuilder, Microsoft::Maui::LifecycleEvents::ILifecycleEventService
public class LifecycleEventService : Microsoft.Maui.LifecycleEvents.ILifecycleBuilder, Microsoft.Maui.LifecycleEvents.ILifecycleEventService
type LifecycleEventService = class
    interface ILifecycleEventService
    interface ILifecycleBuilder
Public Class LifecycleEventService
Implements ILifecycleBuilder, ILifecycleEventService
繼承
LifecycleEventService
實作

建構函式

LifecycleEventService(IEnumerable<LifecycleEventRegistration>)

方法

AddEvent<TDelegate>(String, TDelegate)
ContainsEvent(String)
GetEventDelegates<TDelegate>(String)

擴充方法

AddEvent(ILifecycleBuilder, String, Action)
AddEvent<TDelegate>(ILifecycleBuilder, String, TDelegate)
InvokeEvents(ILifecycleEventService, String)
InvokeEvents<TDelegate>(ILifecycleEventService, String, Action<TDelegate>)

適用於