New: Better platform detection specifically for Non-Windows Systems

This commit is contained in:
Keivan Beigi
2017-01-03 18:36:47 -08:00
parent 598b5322b7
commit ad7d571b24
76 changed files with 1125 additions and 473 deletions
@@ -4,13 +4,9 @@ namespace NzbDrone.Core.Lifecycle
{
public class ApplicationShutdownRequested : IEvent
{
public bool Restarting { get; set; }
public bool Restarting { get; }
public ApplicationShutdownRequested()
{
}
public ApplicationShutdownRequested(bool restarting)
public ApplicationShutdownRequested(bool restarting = false)
{
Restarting = restarting;
}