コード例 #1
0
 public void Unregister(IExcepticonClient client)
 {
     _appDomain.ProcessExit -= OnProcessExit;
     _client = null;
 }
コード例 #2
0
 public MyHostedService(IExcepticonClient excepticonClient)
 {
     _excepticonClient = excepticonClient ?? throw new ArgumentNullException(nameof(excepticonClient));
 }
コード例 #3
0
 public void Register(IExcepticonClient client, ExcepticonOptions options)
 {
     _client = client;
     _appDomain.ProcessExit += OnProcessExit;
 }