new-infofer-scraper/scraper/src/Models/Status.cs
Dan Cojocaru 7b13d09514
A whole C# rewrite
In one commit.
Yes, you're seeing it right.
Yes, I don't know what I was thinking.
2022-08-03 00:38:53 +03:00

15 lines
365 B
C#

namespace InfoferScraper.Models.Status {
public interface IStatus {
public int Delay { get; }
/// <summary>
/// Determines whether delay was actually reported or is an approximation
/// </summary>
public bool Real { get; }
}
internal record Status : IStatus {
public int Delay { get; set; }
public bool Real { get; set; }
}
}