Exemplo n.º 1
0
        protected override void OnClick()
        {
            AppSingleton.Instance().CreateWorkspacePath();
            ToolForm form = new ToolForm();

            form.ShowDialog();
        }
Exemplo n.º 2
0
 public HomeController(AppSingleton appSingleton, TenantSingleton tenantSingleton,
                       AppScoped appScoped, ITenantAccessor <SimpleTenant> tenantAccessor)
 {
     _appSingleton    = appSingleton;
     _tenantSingleton = tenantSingleton;
     _appScoped       = appScoped;
     _tenantAccessor  = tenantAccessor;
 }