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

Class ServiceImplementationAttribute

Declares a service implementation for automatic global IoC registratrion. Service implementations using this attribute are automatically registered for any interface that implements the ServiceAttribute. ServiceAttribute PluginServiceImplementationAttribute

Inheritance
System.Object
PriorityAttribute
ServiceImplementationAttribute
PluginServiceImplementationAttribute
Inherited Members
PriorityAttribute.Priority
Namespace: OpenMod.API.Ioc
Assembly: OpenMod.API.dll
Syntax
public class ServiceImplementationAttribute : PriorityAttribute

Properties

| Improve this Doc View Source

Lifetime

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

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)