internal static void Run(ApiCheckerOptions o) => new ApiChecker { BasePath = o.BasePath, AssemblyPath = Path.Combine(o.BasePath, "src", "PlaywrightSharp", "bin", "Debug", "net5.0", "PlaywrightSharp.dll"), } .Execute();
internal static Task RunAsync(ApiCheckerOptions o) { ApiChecker apiChecker = new ApiChecker { BasePath = o.BasePath, AssemblyPath = Path.Combine(o.BasePath, "src", "Playwright", "bin", "Debug", "net5.0", "Microsoft.Playwright.dll"), }; return(apiChecker.ExecuteAsync()); }