public GuiModel(IGuiView View) { if (View == null) { throw new ArgumentNullException("View"); } this.View = View; this.View.CalculatePushed += DoCalculation; this.Calculator = new Calculator(); }
public GuiModel(IGuiView View) { if (View == null) { throw new ArgumentNullException("View"); } this.View = View; this.View.CalculatePushed += DoCalculation; this.Calculator = new Calculator(); }