Exemplo n.º 1
0
    public AppCenterService(
        IAppCenterSecretService appCenterSecretService,
        ILogFileSystemService logFileSystemService)
    {
        if (appCenterSecretService is null)
        {
            throw new ArgumentNullException($"You must be implemented and register {nameof(IAppCenterSecretService)}");
        }

        this.appCenterSecretService = appCenterSecretService;
        this.logFileSystemService   = logFileSystemService;
    }
Exemplo n.º 2
0
 public FileLoggingService(ILogFileSystemService logFileSystemService)
 {
     this.logFileSystemService = logFileSystemService;
 }