13 行
460 B
C#
13 行
460 B
C#
using YukkuriMovieMaker.Plugin.Update;
|
|
|
|
namespace GitHubUpdateNotifier;
|
|
|
|
public sealed class UpdateNotifierOptions
|
|
{
|
|
public required PluginVersion CurrentVersion { get; init; }
|
|
public bool IncludePrerelease { get; init; }
|
|
public int RetryCount { get; init; } = 2;
|
|
public required Func<UpdateInfo, string> MessageFormatter { get; init; }
|
|
public required Func<UpdateNotification, CancellationToken, Task> NotificationHandler { get; init; }
|
|
}
|