/// <summary> /// Constructor dependency injection /// </summary> /// <param name="emailServiceApi"></param> /// <param name="mailJetClient"></param> /// <param name="globalConfigs"></param> public EmailServiceApi(IEmailService emailServiceApi, IMailjetClient mailJetClient, GlobalConfigs globalConfigs) { _connected = true; _emailServiceApi = emailServiceApi; _mailJetClient = mailJetClient; _globalConfigs = globalConfigs; }
/// <summary> /// Constructor dependency injection /// </summary> /// <param name="logger"></param> /// <param name="mailJetClient"></param> /// <param name="globalConfigs"></param> /// <param name="mailGunConfig"></param> public EmailServiceApi(ILogger <EmailServiceApi> logger, IMailjetClient mailJetClient, GlobalConfigs globalConfigs, MailGunConfig mailGunConfig) { _connected = true; _logger = logger; _mailJetClient = mailJetClient; _globalConfigs = globalConfigs; _mailGunConfig = mailGunConfig; }
/// <summary> /// Constructor dependency injection /// </summary> /// <param name="globalConfigs"></param> /// <param name="studentLogic"></param> /// <param name="driverLogic"></param> /// <param name="hostLogic"></param> /// <param name="userLogic"></param> /// <param name="emailServiceApiApi"></param> public EmailUtilityLogic(GlobalConfigs globalConfigs, IStudentLogic studentLogic, IDriverLogic driverLogic, IHostLogic hostLogic, IUserLogic userLogic, IEmailServiceApi emailServiceApiApi) { _globalConfigs = globalConfigs; _studentLogic = studentLogic; _driverLogic = driverLogic; _hostLogic = hostLogic; _userLogic = userLogic; _emailServiceApiApi = emailServiceApiApi; }
void Awake() { if (instance != null) { Debug.LogWarning("more than one instance on DialogueManager"); return; } instance = this; }
internal GlobalConfigsForm(GlobalConfigs config) { this.config = config; InitializeComponent(); details = Detail.Details(config.DetailsStr ?? ""); foreach (var kv in details) { lst_rules.Add(kv.Item1); group_details.Enabled = true; } }
public static void Main(string[] args) { var configuration = GetConfiguration(); Log.Logger = GlobalConfigs.CreateLogger(configuration["LogPath"].ToString()); try { Log.Information("Imagegram service is starting up..."); CreateHostBuilder(args).Build().Run(); Log.Information("Imagegram service started."); } catch (Exception ex) { Log.Fatal(ex, "Imagegram service start-up failed"); } finally { Log.CloseAndFlush(); } }
public ConfigLogic(IS3Service s3Service, ILogger <ConfigLogic> logger, GlobalConfigs globalConfigs) { _s3Service = s3Service; _logger = logger; _globalConfigs = globalConfigs; }
public CacheBustingUtility(GlobalConfigs globalConfigs) { _globalConfigs = globalConfigs; }
/// <summary> /// Constructor dependency injection /// </summary> /// <param name="repository"></param> /// <param name="globalConfigs"></param> public StudentLogic(IEfRepository repository, GlobalConfigs globalConfigs) { _studentDal = repository.For <Student>(); _globalConfigs = globalConfigs; }
public ConfigLogic(GlobalConfigs globalConfigs, IS3Service s3Service, ILogger <ConfigLogic> logger) { _globalConfigs = globalConfigs; _s3Service = s3Service; _logger = logger; }
/// <summary> /// Constructor dependency injection /// </summary> /// <param name="repository"></param> /// <param name="globalConfigs"></param> public DriverLogic(IEfRepository repository, GlobalConfigs globalConfigs) { _driverDal = repository.For <Driver>(); _globalConfigs = globalConfigs; }
/// <summary> /// Constructor dependency injection /// </summary> /// <param name="repository"></param> /// <param name="studentLogic"></param> /// <param name="globalConfigs"></param> public EventLogic(IEfRepository repository, IStudentLogic studentLogic, GlobalConfigs globalConfigs) { _eventDal = repository.For <Event>(); _studentLogic = studentLogic; _globalConfigs = globalConfigs; }
public ConfigController(GlobalConfigs globalConfigs) { _globalConfigs = globalConfigs; }
/// <summary> /// Constructor dependency injection /// </summary> /// <param name="repository"></param> /// <param name="globalConfigs"></param> public HostLogic(IEfRepository repository, GlobalConfigs globalConfigs) { _hostDal = repository.For <Host>(); _globalConfigs = globalConfigs; }