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, "Администратор. Авторизация"); }