예제 #1
0
        public ProgrammerPresenter(IScreen screen, IIcspService icspService, IShell shell)
        {
            if (screen == null)
            {
                throw new ArgumentNullException("screen");
            }
            if (icspService == null)
            {
                throw new ArgumentNullException("icspService");
            }

            myScreen      = screen;
            myIcspService = icspService;
            myShell       = shell;
            BindCommands();
        }
예제 #2
0
 public IcspFacade(IIcspService icsp)
 {
     myIcsp = icsp;
 }