New Post: Date marshalling
Hi guillaume86, You can add valueOf as an extension method:publicstaticclass DateTimeExtensions { publicstaticdouble valueOf(this DateTime value) { return value.Ticks; } }and then:...
View ArticleNew Post: Date marshalling
Hi, I can't get it to work, do I need a version more recent that the latest nuget release? (actually I had already tried a class with a valueOf method and it didn't work either) Your test case prints...
View ArticleNew Post: Date marshalling
Hi again, Yes, sorry, you need this fix. The hiding of built-in properties such as toString and valueOf is broken in the current release. Cheers!
View ArticleNew Post: Date marshalling
Thanks a lot!Le jeu. 3 mars 2016 à 19:57, ClearScript <[email removed]> a écrit :From: ClearScriptHi again, Yes, sorry, you need this fix. The hiding of built-in properties such as toString...
View ArticleNew Post: Event Listener Creation
Thanks for your reply, basically, I want to replicate this sample code on the script side. I did transported the code but I couldn´t get it to work. public static void ListenUDP() { _lst = new...
View ArticleNew Post: Event Listener Creation
Hello! Here's a JavaScript sample that works and is very similar to your C# code:using (var engine = new V8ScriptEngine()) { engine.AddHostObject("host", new HostFunctions());...
View ArticleNew Post: ASP.NET Core migration
Hi, Are you going to migrate CleaScript on .NET Core platform? Regards, Guillaume.
View ArticleNew Post: ASP.NET Core migration
Hi Guillaume, We have no such effort underway. ClearScript's V8 bridge uses C++/CLI, so it can only work on Windows regardless of the runtime. And since the legacy script engines (JScript/VBScript) are...
View ArticleNew Post: Date marshalling
Sorry to bother you again, could you "release" a new version so that the Nuget maintainers can also push an update with correct version numbers? Have a nice day.
View ArticleCommented Unassigned: Cannot create a file when that file already exists [100]
Clearscript 5.3.11.0 return error "Cannot create a file when that file already exists".My project is an Windows application in C#, framework 4.5.In the application each 1/2 seconds is called...
View ArticleClosed Unassigned: Cannot create a file when that file already exists [100]
Clearscript 5.3.11.0 return error "Cannot create a file when that file already exists".My project is an Windows application in C#, framework 4.5.In the application each 1/2 seconds is called...
View ArticleNew Post: Date marshalling
No bother at all. We're hoping to post Version 5.4.5 sometime this week. Thanks again!
View ArticleEdited Issue: Event Listener Creation [102]
I´m trying to create a UDPClient from javascript but I cannot find the way to add the event to the object I´ve created on the javascript side and assign a callback function.Can someone help me with...
View ArticleEdited Issue: Cannot create a file when that file already exists [100]
Clearscript 5.3.11.0 return error "Cannot create a file when that file already exists".My project is an Windows application in C#, framework 4.5.In the application each 1/2 seconds is called...
View ArticleNew Post: Event Listener Creation
Thank you for that!. The code worked just fine!. Every day happier to work with ClearScript!.
View ArticleReleased: ClearScript 5.4 (Oct 22, 2014)
5.4.5Breaking Change: Added strongly-typed indexing support for IList<T>. Because IList<T> takes precedence over IList, array and list elements retrieved by index are now correctly...
View ArticleUpdated Release: ClearScript 5.4 (Oct 22, 2014)
5.4.5Breaking Change: Added strongly-typed indexing support for IList<T>. Because IList<T> takes precedence over IList, array and list elements retrieved by index are now correctly...
View ArticleUpdated Wiki: Documentation
Documentation To learn more about ClearScript: Check out the ClearScript tutorial: [Word], [PDF].Browse the ClearScript Library Reference: [Reference.chm]. Save this file before opening it. If you get...
View ArticleUpdated Wiki: Announcements
3/10/2016: Version 5.4.5 released. View the release notes and download the source code here. 12/8/2015: Version 5.4.4 released. View the release notes and download the source code here. 8/17/2015:...
View ArticleUpdated Wiki: Home
Version 5.4.5 released. More...Description ClearScript is a library that makes it easy to add scripting to your .NET applications. It currently supports JavaScript (via V8 and JScript) and...
View Article