Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Linq in Expressions

Post requests for new features to this forum group. Any suggestion to expand the possibilities of Ventuz are welcome.

Moderator: Support

Post Reply
User avatar
Eric_RD
Posts: 103
Joined: 04 Jun 2014, 14:01
Contact:

Linq in Expressions

Post by Eric_RD » 05 Dec 2014, 13:08

I would love Linq (from System.Core.dll) to be implemented into the Expression Nodes.

For example for sorting an Array so I don't have to create an extra script node which has to be compiled at every start up just to do

Code: Select all

outputarray = inputarray.OrderBy(i => i).ToArray();
(Array.Sort() does not work in an Expression because it needs a second line)
I know this is not the best Example for using Linq, its just my current problem
But I often get to this point where a simple Linq query gives me the output I need.

It is no problem when the query is needed only once.
But with a lot of duplicated Containers, each containing a script, startup can take a very long time, which is bad if you have to load the scenes dynamically.

User avatar
Eric_RD
Posts: 103
Joined: 04 Jun 2014, 14:01
Contact:

Re: Linq in Expressions

Post by Eric_RD » 05 Dec 2014, 13:25

PS:
I know you can implement other Namespaces by writing the whole Namespace.
(like System.IO.Someting(variable))
But the Expression won't let me use any Linq query because the System.Core Assembly doesn't seem to be implemented.

User avatar
Karol
Posts: 640
Joined: 10 Jan 2012, 12:07

Re: Linq in Expressions

Post by Karol » 08 Dec 2014, 10:20

I created a Feature Request ticket (#5623)!

Cheers
Karol

Post Reply