Hi,

Ok, it's now possible to wrap CLR types in V8.NET. ;)  Although the focus 
of V8.NET was to interface at a lower level, I've added this feature to 
make it easier to consume existing .NET types.  For example:

{V8Engine}.GlobalObject.SetProperty(typeof(System.IO.File), null, true, 
V8PropertyAttributes.Locked);
In script: "File.Exists(...)"

or

{V8Engine}.GlobalObject.SetProperty(typeof(System.IO.File), "System.IO.File"
, true, V8PropertyAttributes.Locked);
In script: "this["System.IO.File"].Exists(...)"

V8.NET implicitly calls {V8Engine}.RegisterType() to register types, but 
you can call this before hand if you want more control over member 
attributes and recursive binding.

The type binding system is very efficient, and caches anything it can to 
speed up the process of working with the .NET side.

8)

On Thursday, 23 May 2013 07:04:43 UTC-4, James W wrote:
>
> Hey everyone!  I've just completed a .NET wrapper for the V8 engine at 
> v8dotnet.codeplex.com. 8)

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to