Skip to content

Commit

Permalink
removed placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
IPdotSetAF committed Oct 27, 2024
1 parent 047d404 commit f83dfd3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/app/cs2ts/cs2ts.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,14 @@ import { Meta } from '@angular/platform-browser';
`
})
export class Cs2tsComponent implements AfterContentInit {
protected placeholder1: string = `public class a : b {
protected csCode: string = `public class a : b {
public int x1 { get; set; }
public float? x2 { get; set; }
public string x3 { get; set; }
public bool[] x8 { get; set; }
public long[] x9 { get; set; }
public IEnumerable<string> x10 { get; set; }
}`;
protected placeholder2!: string;

protected csCode: string = "";
protected tsCode !: string;
protected status: boolean = false;

Expand All @@ -46,8 +43,6 @@ export class Cs2tsComponent implements AfterContentInit {
{ name: "description", content: "Converts C# model to TS model, converts fields, types, arrays and generics." },
{ name: "keywords", content: "C#, TS, CSharp, TypeScript, script, type, generic, array, converter, model, fields, string, number, int, class, code, language, long, float, boolean, bool" },
]);

this.placeholder2 = Cs2tsComponent.convert(this.placeholder1);
}

ngAfterContentInit(): void {
Expand Down

0 comments on commit f83dfd3

Please sign in to comment.