public CommandCenterAdmin() { if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows) || RuntimeInformation.IsOSPlatform(OSPlatform.Linux) || RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) { currentStrategy = new DesktopStrategy(); } else { Environment.FailFast("Zerobot only supports Desktop platforms... wait for it...."); } }
public CommandCenterContext(ICommandCenterStrategy strategy) { this.strategy = strategy; }