public PersistDatagridColumnWidthBehavior() { if (DesignerProperties.GetIsInDesignMode(this)) { return; } var serviceBus = IoC.Resolve <IServiceBus>(); _uiSettingsService = serviceBus.Get <IUISettingsService>(); _timer.Interval = TimeSpan.FromSeconds(1); }
/// <summary> /// UISettingsServiceController ctors /// </summary> /// <param name="analyzeService"></param> /// <param name="securityContext"></param> public UISettingsServiceController(ITraceManager traceManager, IUISettingsService uiSettingsService, ISecurityContext securityContext) { _traceManager = traceManager; _uiSettingsService = uiSettingsService; _securityContext = securityContext; }