public void Dispose()
 {
     _kernel.Dispose();
 }
 public void Dispose()
 {
     _kernel.Dispose();
     KernelEvents.Dispose();
 }