Anvil
Anvil.Services.ServiceBindingOptionsAttribute Class Reference

Additional service binding options. More...

+ Inheritance diagram for Anvil.Services.ServiceBindingOptionsAttribute:
+ Collaboration diagram for Anvil.Services.ServiceBindingOptionsAttribute:

Properties

BindingPriority BindingPriority [get]
 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. More...
 
bool Lazy [get]
 If true, this service will only be loaded if another service depends on it. More...
 
string?[] PluginDependencies [get]
 An optional list of plugin names that must exist for this service to be loaded. More...
 

Detailed Description

Additional service binding options.

Property Documentation

◆ BindingPriority

BindingPriority Anvil.Services.ServiceBindingOptionsAttribute.BindingPriority
get

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

bool Anvil.Services.ServiceBindingOptionsAttribute.Lazy
get

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

◆ PluginDependencies

string? [] Anvil.Services.ServiceBindingOptionsAttribute.PluginDependencies
get

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


The documentation for this class was generated from the following file: