Click or drag to resize

ServiceCollectionExtensions Class

Extension methods for adding systems to an IServiceCollection.
Inheritance Hierarchy
SystemObject
  SampSharp.EntitiesServiceCollectionExtensions

Namespace:  SampSharp.Entities
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static class ServiceCollectionExtensions
Methods
  NameDescription
Public methodStatic memberAddSystem(IServiceCollection, Type)
Adds the system of the specified type as a singleton and enables the system in the system registry.
Public methodStatic memberAddSystemT(IServiceCollection)
Adds the system of the specified type T as a singleton and enables the system in the system registry.
Public methodStatic memberAddSystemsInAssembly(IServiceCollection)
Adds the all types which implement ISystem in the calling assembly as singletons and enable the systems in the system registry.
Public methodStatic memberAddSystemsInAssembly(IServiceCollection, Assembly)
Adds the all types which implement ISystem in the specified assembly as singletons and enable the systems in the system registry.
Public methodStatic memberAddSystemsInAssemblyTTypeInAssembly(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.
Top
See Also