/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.App/Data/Models/IStorageDeviceWatcher.cs
46 строк
1 KB
d2dyno
Code Quality: Implemented OwlCore.Storage (#16900)
20 мар 2025, 21:51
Не верифицирован
20 мар 2025, 21:51
84efbc2
Код
Авторство
О чём код?
// Copyright (c) Files Community // Licensed under the MIT License. namespace Files.App.Data.Models { /// <summary> /// Represents a storage device watcher /// </summary> public interface IStorageDeviceWatcher { /// <summary> /// Fires when a new device is detected by the storage device watcher /// </summary> event EventHandler<IFolder> DeviceAdded; /// <summary> /// Fires when a device removal is detected by the storage device watcher /// </summary> event EventHandler<string> DeviceRemoved; /// <summary> /// Fires when the storage device watcher completes an enumeration /// </summary> event EventHandler EnumerationCompleted; /// <summary> /// Fires when a device modification is detected by the storage device watcher /// </summary> event EventHandler<string> DeviceModified; /// <summary> /// Represents whether the storage device watcher should be started /// </summary> bool CanBeStarted { get; } /// <summary> /// Starts the storage device watcher /// </summary> void Start(); /// <summary> /// Stops the storage device watcher /// </summary> void Stop(); } }