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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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