ServiceCollectionExtensions Class |
Namespace: SampSharp.Entities
public static class ServiceCollectionExtensions
Name | Description | |
---|---|---|
AddSystem(IServiceCollection, Type) |
Adds the system of the specified type as a singleton and enables the system in the system
registry.
| |
AddSystemT(IServiceCollection) |
Adds the system of the specified type T as a singleton and enables the system in the system
registry.
| |
AddSystemsInAssembly(IServiceCollection) |
Adds the all types which implement ISystem in the calling assembly as singletons and enable the systems
in the system registry.
| |
AddSystemsInAssembly(IServiceCollection, Assembly) |
Adds the all types which implement ISystem in the specified assembly as singletons
and enable the systems in the system registry.
| |
AddSystemsInAssemblyTTypeInAssembly(IServiceCollection) |
Adds the all types which implement ISystem in the assembly of the specified type
TTypeInAssembly as singletons and enable the systems in the system registry.
|