public static void Initialize(ILayoutService layoutService, ISecurityService securityService) { ServiceFactoryBase.SecurityService = SecurityService = securityService; Layout = layoutService; ContentService = new ContentService("Monitor"); DragDropService = new DragDropService(); }
public static void Initialize(ILayoutService layoutService, IValidationService validationService) { SaveService = new SaveService(); Layout = layoutService; ValidationService = validationService; ContentService = new ContentService("Administrator"); DragDropService = new DragDropService(); RibbonService = new RibbonService(); }
public static void Initialize(ILayoutService ILayoutService, IProgressService IProgressService, IValidationService IValidationService) { SaveService = new SaveService(); Events = new EventAggregator(); ResourceService = new ResourceService(); Layout = ILayoutService; ProgressService = IProgressService; ValidationService = IValidationService; LoginService = new LoginService(ClientType.Administrator, "Администратор. Авторизация"); ContentService = new ContentService("Administrator"); DragDropService = new DragDropService(); RibbonService = new RibbonService(); }