Exemplo n.º 1
0
 private Brain(Memory memory, ImmutableList <IBulb> bulbs, BulbListener onBulbChanged)
 {
     this.Memory        = memory;
     this.Bulbs         = bulbs;
     this.OnBulbChanged = onBulbChanged;
 }
Exemplo n.º 2
0
 public Brain(Memory memory, BulbListener onBulbChanged)
     : this(memory, ImmutableList <IBulb> .Empty, onBulbChanged)
 {
 }