Yegor Stepanov
Yegor Stepanov
4. >Optional Parameters >If a parameter to a type or method is optional, StrongInject will not error if it cannot be resolved, and will instead just use the default value....
The results are different today, maybe I hit https://github.com/hadashiA/VContainer/pull/406 Yesterday, each **EntryPoint** resolves **LifetimeScope** as **Root** and spawns 1 object instead 3. Today it works correctly. I've updated issue. Solution...
Updated it too.
Either things have changed or you are not right. You can easily inject to private. ```C# var builder = new ContainerBuilder(); builder.Register(Lifetime.Scoped).AsSelf(); builder.Register(Lifetime.Scoped).AsSelf(); var container = builder.Build(); Debug.Log(container.Resolve().Class2 == null);...
@hadashiA can you open it? It's a bug
Agree with you. There are few issues about object creation, maybe we need deprecate these extension methods and give a more powerful solution? For example: ```C# public interface IObjectCreator {...
Few notes about code: 1) `component.transform.parent = null` gives a warning for the UI: ``` Parent of RectTransform is being set with parent property. Consider using the SetParent method instead,...
System symbols (`\a`, `\t`, `\n`, etc) also break markdown and most likely other exporters too. Should be they escaped? ~~If yes, then the following parameters will be the same:~~ ```C#...
There is a breaking change here: (Adam wrote half a year ago that this is expected) ```c# var methods = typeof(MyClass).GetMethods(); // returns M() GetType() ToString() Equals() GetHashCode() BenchmarkRunner.Run(typeof(MyClass)); public...
@emanuel-v-r the PR exists, and I think everything is fine with it