示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="cancellationToken"></param>
 /// <returns></returns>
 public Task StopAsync(CancellationToken cancellationToken) => FakeMQ.StopAsync();
示例#2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="serviceProvider"></param>
 public FakeMQBackgroundService(IServiceProvider serviceProvider)
 {
     FakeMQ.Initialize(serviceProvider);
 }