Table of Contents

Class ServiceBindingOptionsAttribute

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

Additional service binding options.

[AttributeUsage(AttributeTargets.Class)]
public sealed class ServiceBindingOptionsAttribute : Attribute
Inheritance
ServiceBindingOptionsAttribute
Inherited Members
Extension Methods

Constructors

ServiceBindingOptionsAttribute()

Properties

BindingPriority

The priority of the service.
Services with a higher priority are loaded first, and are chosen first to resolve dependency constraints when multiple candidates for a dependency are available.

Lazy

If true, this service will only be loaded if another service depends on it.

PluginDependencies

An optional list of plugin names that must exist for this service to be loaded.