public WeatherForecastController(
     MySingleton mySingleton,
     ILogger <WeatherForecastController> logger)
 {
     _mySingleton = mySingleton;
     _logger      = logger;
 }
 public MyClassFactory(
     IMySingleton mySingleton,
     IMyNonSingletonFactory myNonSingletonFactory
     )
 {
     _mySingleton           = mySingleton;
     _myNonSingletonFactory = myNonSingletonFactory;
 }