Page 1 of 1

Linq in Expressions

Posted: 05 Dec 2014, 13:08
by Eric_RD
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.

Re: Linq in Expressions

Posted: 05 Dec 2014, 13:25
by Eric_RD
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.

Re: Linq in Expressions

Posted: 08 Dec 2014, 10:20
by Karol
I created a Feature Request ticket (#5623)!

Cheers
Karol