public AppController( IAppView view, IFileSystem fileSystem, IVirtualDesktopState desktopProvider, IConfigurationController configurationController, IConfigurationFactory configurationFactory) { _view = view; _fileSystem = fileSystem; _desktopState = desktopProvider; desktopProvider.PropertyChanging += DesktopProvider_PropertyChanging; _configurationController = configurationController; _configurationFactory = configurationFactory; }
public static WhenAllDesktopsHasChanged For(IVirtualDesktopState provider) => new WhenAllDesktopsHasChanged(provider);
private WhenAllDesktopsHasChanged(IVirtualDesktopState provider) { _provider = provider; _changing = _provider.AllDesktops; }