-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed No Namespace issue found in Accessors, Methods, Properties and …
…constructors.
- Loading branch information
Showing
19 changed files
with
198 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
...erator.Tests/GenerateClassStatementStringTests/Constructors/NoNamespaceWithArguments.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export class ExampleClass { | ||
constructor(arg1: string); | ||
} |
3 changes: 0 additions & 3 deletions
3
...enerator.Tests/GenerateClassStatementStringTests/Constructors/NoNamespaceWithArguments.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
...ests/GenerateClassStatementStringTests/Methods/Scenarios/StaticNoNamespace.d.Expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/// Generated - Do Not Edit | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using System.Threading.Tasks; | ||
using EventHorizon.Blazor.Interop; | ||
using EventHorizon.Blazor.Interop.Callbacks; | ||
using Microsoft.JSInterop; | ||
|
||
|
||
|
||
[JsonConverter(typeof(CachedEntityConverter<ExampleClass>))] | ||
public class ExampleClass : CachedEntityObject | ||
{ | ||
#region Static Accessors | ||
|
||
#endregion | ||
|
||
#region Static Properties | ||
|
||
#endregion | ||
|
||
#region Static Methods | ||
public static decimal numberMethod() | ||
{ | ||
return EventHorizonBlazorInterop.Func<decimal>( | ||
new object[] | ||
{ | ||
new string[] { "ExampleClass", "numberMethod" } | ||
} | ||
); | ||
} | ||
#endregion | ||
|
||
#region Accessors | ||
|
||
#endregion | ||
|
||
#region Properties | ||
|
||
#endregion | ||
|
||
#region Constructor | ||
public ExampleClass() : base() { } | ||
|
||
public ExampleClass( | ||
ICachedEntity entity | ||
) : base(entity) | ||
{ | ||
___guid = entity.___guid; | ||
} | ||
|
||
|
||
#endregion | ||
|
||
#region Methods | ||
|
||
#endregion | ||
} |
3 changes: 3 additions & 0 deletions
3
...enerator.Tests/GenerateClassStatementStringTests/Methods/Scenarios/StaticNoNamespace.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export class ExampleClass { | ||
static numberMethod(): number; | ||
} |
61 changes: 61 additions & 0 deletions
61
...s/GenerateClassStatementStringTests/Properties/Scenarios/StaticNoNamespace.d.Expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/// Generated - Do Not Edit | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text.Json.Serialization; | ||
using System.Threading.Tasks; | ||
using EventHorizon.Blazor.Interop; | ||
using EventHorizon.Blazor.Interop.Callbacks; | ||
using Microsoft.JSInterop; | ||
|
||
|
||
|
||
[JsonConverter(typeof(CachedEntityConverter<ExampleClass>))] | ||
public class ExampleClass : CachedEntityObject | ||
{ | ||
#region Static Accessors | ||
|
||
#endregion | ||
|
||
#region Static Properties | ||
|
||
public static decimal NoneLogLevel | ||
{ | ||
get | ||
{ | ||
return EventHorizonBlazorInterop.Get<decimal>( | ||
"ExampleClass", | ||
"NoneLogLevel" | ||
); | ||
} | ||
} | ||
#endregion | ||
|
||
#region Static Methods | ||
|
||
#endregion | ||
|
||
#region Accessors | ||
|
||
#endregion | ||
|
||
#region Properties | ||
|
||
#endregion | ||
|
||
#region Constructor | ||
public ExampleClass() : base() { } | ||
|
||
public ExampleClass( | ||
ICachedEntity entity | ||
) : base(entity) | ||
{ | ||
___guid = entity.___guid; | ||
} | ||
|
||
|
||
#endregion | ||
|
||
#region Methods | ||
|
||
#endregion | ||
} |
3 changes: 3 additions & 0 deletions
3
...rator.Tests/GenerateClassStatementStringTests/Properties/Scenarios/StaticNoNamespace.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export class ExampleClass { | ||
static readonly NoneLogLevel: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.