public static Runner For(RuntimePlatform platform) { Runner runner; PlatformSupport.For(platform).RegisterRunner(); _platformRunners.TryGetValue(platform.GetType(), out runner); if (runner == null) { throw new ArgumentException($"Can't find runner for platform {platform}!"); } return(runner); }