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
ServiceImplementationAttribute
Inherited Members
Namespace: OpenMod.API.Ioc
Assembly: OpenMod.API.dll
Syntax
public class ServiceImplementationAttribute : PriorityAttribute
Properties
| Improve this Doc View SourceLifetime
Declaration
public ServiceLifetime Lifetime { get; set; }
Property Value
Type | Description |
---|---|
ServiceLifetime |