Class CompositionRootExtensions
Static class that adds convenient methods to add the concrete implementations contained in this library.
Inheritance
System.Object
CompositionRootExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fibula.Creatures.MonstersDbFile
Assembly: Fibula.Creatures.MonstersDbFile.dll
Syntax
public static class CompositionRootExtensions
Methods
| Improve this Doc View SourceAddMonsterDbFileMonsterSpawnLoader(IServiceCollection, IConfiguration)
Adds all implementations related to the monster Db file contained in this library to the services collection. Additionally, registers the options related to the concrete implementations added, such as: MonsterDbFileMonsterSpawnLoaderOptions.
Declaration
public static void AddMonsterDbFileMonsterSpawnLoader(this IServiceCollection services, IConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services | The services collection. |
Microsoft.Extensions.Configuration.IConfiguration | configuration | The configuration reference. |