[Add] VContainer
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace VContainer.Internal
|
||||
{
|
||||
sealed class ContainerInstanceProvider : IInstanceProvider
|
||||
{
|
||||
public static readonly ContainerInstanceProvider Default = new ContainerInstanceProvider();
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public object SpawnInstance(IObjectResolver resolver) => resolver;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user