예제 #1
0
        public PersistDatagridColumnWidthBehavior()
        {
            if (DesignerProperties.GetIsInDesignMode(this))
            {
                return;
            }

            var serviceBus = IoC.Resolve <IServiceBus>();

            _uiSettingsService = serviceBus.Get <IUISettingsService>();
            _timer.Interval    = TimeSpan.FromSeconds(1);
        }
예제 #2
0
 /// <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;
 }