/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.Shared/Utils/IAsyncInitialize.cs
21 строка
637 B
0x5BFA
Code Quality: Added IsAotCompatible to some class library projects (#17123)
14 май 2025, 02:46
Не верифицирован
14 май 2025, 02:46
5aa072c
Код
Авторство
О чём код?
// Copyright (c) Files Community // Licensed under the MIT License. using System.Threading; using System.Threading.Tasks; namespace Files.Shared.Utils { /// <summary> /// Allows an object to be initialized asynchronously. /// </summary> public interface IAsyncInitialize { /// <summary> /// Initializes resources and prepares them for use. /// </summary> /// <param name="cancellationToken">A <see cref="CancellationToken"/> that cancels this action.</param> /// <returns>A <see cref="Task"/> that represents the asynchronous operation.</returns> Task InitAsync(CancellationToken cancellationToken = default); } }