public Environment([NotNull] MainForm mainForm) { if (mainForm == null) throw new ArgumentNullException("mainForm"); this.mainForm = mainForm; }
public AppBootstrapper([NotNull] MainForm mainForm) { if (mainForm == null) throw new ArgumentNullException("mainForm"); this.mainForm = mainForm; environment = new Environment(mainForm); }