Exemplo n.º 1
0
 public ModuleState(Module config, MediatorCore core)
 {
     this.logger    = LogManager.GetLogger(config.Name);
     this.Config    = config;
     this.core      = core;
     this.State     = State.Created;
     this.Password  = Guid.NewGuid().ToString();
     this.variables = new ModuleVariables(config.ID, config.Name, config.VariablesFileName);
 }
Exemplo n.º 2
0
 public void SetInstanceNull()
 {
     instance = null;
     variables.Shutdown();
     variables = new ModuleVariables(Config.ID, Config.Name, Config.VariablesFileName);
 }