chore(dotnet): unique name for generated files, change root namespace (#5678)
This commit is contained in:
parent
1a0ccc1383
commit
1eb0f42981
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -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]
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue