Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate JavaScript object for a CacheEntity created for an Interface #60

Open
canhorn opened this issue Oct 25, 2021 · 0 comments
Open
Labels
feature New feature or request

Comments

@canhorn
Copy link
Owner

canhorn commented Oct 25, 2021

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;
}
@canhorn canhorn added the feature New feature or request label Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant