OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class EventListenerLifetimeAttribute

Inheritance
System.Object
EventListenerLifetimeAttribute
Namespace: OpenMod.Core.Eventing
Assembly: OpenMod.Core.dll
Syntax
public class EventListenerLifetimeAttribute : Attribute

Constructors

| Improve this Doc View Source

EventListenerLifetimeAttribute(ServiceLifetime)

Declaration
public EventListenerLifetimeAttribute(ServiceLifetime lifetime)
Parameters
Type Name Description
ServiceLifetime lifetime

Properties

| Improve this Doc View Source

Lifetime

Declaration
public ServiceLifetime Lifetime { get; }
Property Value
Type Description
ServiceLifetime

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)