I have to call the C# classes from javascript through Firebreath Framework. I am new to the Firebreath Framework.
Suppose In the C#, Public Class ImageDraw { } Public Class Test { public void TestDrawImage(ImageDraw imageDraw) { } }
Then I have to call this TestDrawImage(ImageDraw imageDraw) from javascript through firebreath framework. The same way i have to call the events,properties ,classes of C# from javascript through Firebreath framework.. I want the generalized solution for this problem How should i implement this? If you have any solution, sort of information ,ways to communicate the C# classes from Javascript through Firebreath Framework then please let me know..
I already created the wrapper for the same. But the problem is for each new method i have to instantiate the wrapper in the Firebreath. Same might be happened for each new class from C# in Firebreath i have to instantiate the wrapper. So Is it possible to have some centralized method that gathers the full instance of wrapper in Firebreath.