chore(dotnet): unique name for generated files, change root namespace (#5678)

This commit is contained in:
Anže Vodovnik 2021-03-02 18:29:29 +01:00 committed by GitHub
parent 1a0ccc1383
commit 1eb0f42981
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ let classNameMap;
let writeFile = (name, out, folder) => { let writeFile = (name, out, folder) => {
let content = template.replace('[CONTENT]', out.join(`${EOL}\t`)); let content = template.replace('[CONTENT]', out.join(`${EOL}\t`));
fs.writeFileSync(`${path.join(folder, name)}.cs`, content); fs.writeFileSync(`${path.join(folder, name)}.generated.cs`, content);
} }
/** /**

View file

@ -43,7 +43,7 @@ using System.Text.RegularExpressions;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PlaywrightSharp namespace Microsoft.Playwright
{ {
[CONTENT] [CONTENT]
} }