private DeskPi(DeskPi source, ISsd stringWriter = null, IButtonAggregator buttonAggregator = null, DeskPiMode currentMode = null) { this.stringWriter = stringWriter ?? source.stringWriter; this.buttonAggregator = buttonAggregator ?? source.buttonAggregator; this.currentMode = currentMode ?? source.currentMode; }
public DeskPi(ISsd stringWriter, IButtonAggregator buttonAggregator, DeskPiMode currentMode) { this.stringWriter = stringWriter; this.buttonAggregator = buttonAggregator; this.currentMode = currentMode; this.stringWriter = Write(this.stringWriter, currentMode.Text); Console.WriteLine("Start"); }
public IntroMode(DeskPiMode next, Func <ITicker> getTicker) : base(next) { this.next = next; this.ticker = getTicker().SomeNotNull(); }
protected DeskPiMode(DeskPiMode source) { this.buildSelector = source.buildSelector; }