Class EventListenerLifetimeAttribute
Inheritance
System.Object
EventListenerLifetimeAttribute
Namespace: OpenMod.Core.Eventing
Assembly: OpenMod.Core.dll
Syntax
public class EventListenerLifetimeAttribute : Attribute
Constructors
| Improve this Doc View SourceEventListenerLifetimeAttribute(ServiceLifetime)
Declaration
public EventListenerLifetimeAttribute(ServiceLifetime lifetime)
Parameters
Type | Name | Description |
---|---|---|
ServiceLifetime | lifetime |
Properties
| Improve this Doc View SourceLifetime
Declaration
public ServiceLifetime Lifetime { get; }
Property Value
Type | Description |
---|---|
ServiceLifetime |