VContainer icon indicating copy to clipboard operation
VContainer copied to clipboard

LifetimeScope: added generic overloads for CreateChild()

Open pspgit opened this issue 3 years ago • 1 comments

Added generic overloads for LifetimeScope.CreateChild<TScope>()

This allows us to create child scopes of specific type like this: var customScope = _parentScope.CreateChild<CustomScope>()

Now we can select this programmatically created CustomScope to be a parent for some other scene scope, when scene is loaded.

image

pspgit avatar Aug 03 '22 20:08 pspgit

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
vcontainer ✅ Ready (Inspect) Visit Preview Aug 16, 2022 at 6:31PM (UTC)

vercel[bot] avatar Aug 03 '22 20:08 vercel[bot]

Thanks for the fix :)

hadashiA avatar Aug 26 '22 04:08 hadashiA