示例#1
0
 public ServiceRegistry()
 {
     random             = new Random();
     log                = new Logger();
     reproductionMethod = new ReproductionMethod(ReproductionMethod.Methods.Asexual);
     csv                = new CSVOutputter();
 }
 public ServiceRegistry()
 {
     random = new Random();
     log = new Logger();
     reproductionMethod = new ReproductionMethod(ReproductionMethod.Methods.Asexual);
     csv = new CSVOutputter();
 }
示例#3
0
 private void Initialize()
 {
     random = ServiceRegistry.GetInstance().GetRandom();
     log    = ServiceRegistry.GetInstance().GetLog();
     csv    = ServiceRegistry.GetInstance().GetCSV();
 }