Renaming csharp_namespace
This commit is contained in:
parent
8419ecdd09
commit
6236a14377
@ -1,6 +1,6 @@
|
||||
import "./import";
|
||||
|
||||
define CSharp_Namespace Example;
|
||||
define csharp_namespace Example;
|
||||
|
||||
enum TestEnum {
|
||||
VAL1,
|
||||
|
@ -10443,7 +10443,7 @@ function toCSharpType(type) {
|
||||
var CSharpTarget = class extends CompileTarget {
|
||||
name = "c#";
|
||||
get namespace() {
|
||||
return this.options.CSharp_Namespace || "JRPC";
|
||||
return this.options.csharp_namespace || "JRPC";
|
||||
}
|
||||
start() {
|
||||
this.writeFile(this.namespace + ".csproj", this.getTemplate("CSharp/CSharp.csproj"));
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hibas123/jrpcgen",
|
||||
"version": "1.0.18",
|
||||
"version": "1.0.19",
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"packageManager": "yarn@3.1.1",
|
||||
|
@ -21,11 +21,11 @@ function toCSharpType(type: string): string {
|
||||
return (conversion as any)[type] || type;
|
||||
}
|
||||
|
||||
export class CSharpTarget extends CompileTarget<{ CSharp_Namespace: string }> {
|
||||
export class CSharpTarget extends CompileTarget<{ csharp_namespace: string }> {
|
||||
name: string = "c#";
|
||||
|
||||
get namespace() {
|
||||
return this.options.CSharp_Namespace || "JRPC";
|
||||
return this.options.csharp_namespace || "JRPC";
|
||||
}
|
||||
|
||||
start(): void {
|
||||
|
Loading…
Reference in New Issue
Block a user