Update Project

This commit is contained in:
2026-03-20 13:04:43 +02:00
parent 9b587e6cba
commit beae2dea89
2295 changed files with 251259 additions and 33 deletions
@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
namespace Zenject
{
// The given InjectContext values here should always be non-null
public interface IProvider
{
bool TypeVariesBasedOnMemberType
{
get;
}
bool IsCached
{
get;
}
Type GetInstanceType(InjectContext context);
// Return an instance which might be not yet injected to.
// injectAction should handle the actual injection
// This way, providers that call CreateInstance() can store the instance immediately,
// and then return that if something gets created during injection that refers back
// to the newly created instance
void GetAllInstancesWithInjectSplit(
InjectContext context, List<TypeValuePair> args, out Action injectAction, List<object> instances);
}
}