Example #1
0
 protected Slave(Slave original, Cloner cloner)
   : base(original, cloner) {
   this.Cores = original.Cores;
   this.FreeCores = original.FreeCores;
   this.CpuSpeed = original.CpuSpeed;
   this.Memory = original.Memory;
   this.FreeMemory = original.FreeMemory;
   this.SlaveState = original.SlaveState;
   this.IsAllowedToCalculate = original.IsAllowedToCalculate;
   this.OperatingSystem = original.OperatingSystem;
   this.CpuArchitecture = original.CpuArchitecture;
   this.LastHeartbeat = original.LastHeartbeat;
   this.CpuUtilization = original.CpuUtilization;
   this.IsDisposable = original.IsDisposable;
 }
Example #2
0
 protected Slave(Slave original, Cloner cloner)
     : base(original, cloner)
 {
     this.Cores                = original.Cores;
     this.FreeCores            = original.FreeCores;
     this.CpuSpeed             = original.CpuSpeed;
     this.Memory               = original.Memory;
     this.FreeMemory           = original.FreeMemory;
     this.SlaveState           = original.SlaveState;
     this.IsAllowedToCalculate = original.IsAllowedToCalculate;
     this.OperatingSystem      = original.OperatingSystem;
     this.CpuArchitecture      = original.CpuArchitecture;
     this.LastHeartbeat        = original.LastHeartbeat;
     this.CpuUtilization       = original.CpuUtilization;
     this.IsDisposable         = original.IsDisposable;
 }