static void Main(string[] args) { LampsController lampController = new LampsController(); MainApp app = new MainApp(lampController); app.Start(); }
public MainApp(LampsController lightMan) { _lightMan = lightMan; }
static void Main(string[] args) { LampsController lampController = new LampsController(); MainApp app = new MainApp(lampController); app.Start(); }
public MainApp(LampsController lightMan) { _lightMan = lightMan; }