mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-09-13 20:09:21 +00:00
17 lines
619 B
C#
17 lines
619 B
C#
using System.Runtime.CompilerServices;
|
|
|
|
[assembly: InternalsVisibleTo("Daybreak.Core")]
|
|
[assembly: InternalsVisibleTo("Daybreak.Windows")]
|
|
[assembly: InternalsVisibleTo("Daybreak.Linux")]
|
|
|
|
namespace Daybreak.Shared;
|
|
|
|
public static class Global
|
|
{
|
|
public static IServiceProvider GlobalServiceProvider { get; internal set; } = default!;
|
|
|
|
public static DateTime NotificationShortExpiration => DateTime.UtcNow + TimeSpan.FromSeconds(15);
|
|
public static DateTime NotificationLongExpiration => DateTime.UtcNow + TimeSpan.FromMinutes(1);
|
|
public static DateTime NotificationNeverExpire => DateTime.MaxValue;
|
|
}
|