Rick van Dam
Rick van Dam
What about restricting this to 'global' depedencies like game managers, cameras etc? If thats the case all the reflection could then be cached as each situation will be the same...
After looking at expression trees for a bit I now think such functionality is possible without having a heavy performance cost. The whole initialization code can be done in a...
Below is some prototype code that will inject a int with value 5 to all properties in components marked with [Inject]. Ofcourse the value '5' will be replaced with other...
As far as the injection API goes for this there are 3 possible ways: - Use property injection like in the prototype. - Mark a method which will be used...
The problem seems to be that compiling expressions with Expression.Lambda.Compile causes it to be compiled in a separate assembly thats not fully trusted. This causes a substaintial overhead for each...
Below you can find the code for a basic injectioncontainer that will inject values based on either a constant value or a expression. ```cs using System; using System.Collections.Generic; using System.Linq;...
#698 is a prerequisite of this
C#8.0 does not require .NET Core 3.0. Msbuild 16.x is enough.
I believe thats because some features rely on some framework types and runtime enhancements. However a feature like nullable references does not (though its still in preview and subject to...
> I'm worried about maintenance implications though, since we'd depart from what's officially supported and can't easily take it back once we're depending on C# 8.0 features. Agreed thats why...