public static void Run(ISetup setup) { if (setup == null) { throw new ArgumentNullException(nameof(setup)); } setup.Run(); }