using System;
namespace KernelPanic.Meta
{
///
/// Provides optional live-event banner copy for shell surfaces.
///
public interface IEventBannerSource
{
EventBannerContent GetBanner();
}
///
/// Describes an optional event banner message and remaining duration.
///
public sealed class EventBannerContent
{
public EventBannerContent(string text, TimeSpan? remainingTime)
{
Text = text;
RemainingTime = remainingTime;
}
public string Text { get; }
public TimeSpan? RemainingTime { get; }
}
}