Exemplo n.º 1
0
 public static void Clear()
 {
     Bootstrappers  = new List <IBootstrapper>();
     Commands       = new List <ICommand>();
     EventConsumers = new List <IEventConsumer>();
     EventSources   = new List <IEventSource>();
     Services       = new List <IService>();
     Bindings       = new List <Binding>();
     Domains?.ForEach(AppDomain.Unload);
     Domains = new List <AppDomain>();
 }