EventHorizon.Blazor.TypeScript.Interop.Generator
EventHorizon.Blazor.TypeScript.Interop.Generator copied to clipboard
Generate JavaScript object for a CacheEntity created for an Interface
To the default constructor for Interfaces that have a CachedEntity create should create a default object in the JavaScript layer. This will make it so the cached entity can be easily created and referenced.
public InterfacedCachedEntity()
{
var entity = EventHorizonBlazorInterop.New(new string[] { "Object" }, null);
___guid = entity.___guid;
}