/// <summary> /// Initializes a new instance of the <see cref="EditorFileOpenDialogService"/> class. /// </summary> /// <param name="settings">The application settings.</param> /// <param name="providers">The providers used for opening/saving files.</param> public EditorFileOpenDialogService(EditorSettings settings, IFileSystemProviders providers) { Settings = settings; Providers = providers; }
/// <summary> /// Initializes a new instance of the <see cref="ProjectManager"/> class. /// </summary> /// <param name="providers">The file system providers used to read and write project files.</param> /// <exception cref="ArgumentNullException">Thrown when the <paramref name="providers"/> parameter is <b>null</b>.</exception> public ProjectManager(IFileSystemProviders providers) => Providers = providers ?? throw new ArgumentNullException(nameof(providers));