sourcegit/src/Models/Notification.cs

11 lines
304 B
C#
Raw Normal View History

namespace SourceGit.Models {
public class Notification {
public bool IsError { get; set; } = false;
public string Message { get; set; } = string.Empty;
}
public interface INotificationReceiver {
void OnReceiveNotification(string ctx, Notification notice);
}
}