Exemplo n.º 1
0
 public static async Task CreateInstanceAsync(string[] args)
 {
     UnitManager instance = new UnitManager(args);
     await instance.CreateInstanceAsync();
 }
Exemplo n.º 2
0
 public static void AddSingletons(this IServiceCollection collection, UnitManager m)
 => m.AddSingletonsToService(collection);