public void SetUp() { _mockLogger = new Mock <ILogger>(); _mockFileHandling = new Mock <IFileHandling>(); _mockConsole = new Mock <IConsole>(); _appLogic = new AppLogic(_mockFileHandling.Object, _mockConsole.Object, _mockLogger.Object); }
public void TearDown() { _mockLogger = null; _appLogic = null; _mockFileHandling = null; _mockConsole = null; }
public UnitHostingCtrl(HostingUnit _CurrHostingUnit, IAppLogic _app) { this.app = _app; this.CurrHostingUnit = _CurrHostingUnit; InitializeComponent(); hostUnitGrid.DataContext = CurrHostingUnit; }
public UserControlBase() { if (!System.ComponentModel.DesignerProperties.GetIsInDesignMode(this)) { //code producing exception var _app = IoC.Kernel.Get <IAppLogic>(); this.app = _app; } }
public MainWindow(IAppLogic _app) { this.app = _app; InitializeComponent(); ToHome(); OwnerId = 0; RefreshAuthControls(); }
static void Main(string[] args) { Bootstrapper.Start(); IAppLogic appLogic = Bootstrapper.Container.Resolve <IAppLogic>(); appLogic.Run(); Bootstrapper.Stop(); }
public CvController(IAppLogic iAppLogic, IMapper mapper) { _appLogic = iAppLogic; _mapper = mapper; }
public AdminController(IAppLogic logic, IUserLogic userLogic) { _logic = logic; _userLogic = userLogic; }
public WorkerController(IAppLogic logic) { _logic = logic; }
public PageBase() { var _app = IoC.Kernel.Get <IAppLogic>(); this.app = _app; }