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,31 @@
namespace Zenject
{
[NoReflectionBaking]
public class ScopeConcreteIdArgConditionCopyNonLazyBinder : ConcreteIdArgConditionCopyNonLazyBinder
{
public ScopeConcreteIdArgConditionCopyNonLazyBinder(BindInfo bindInfo)
: base(bindInfo)
{
}
public ConcreteIdArgConditionCopyNonLazyBinder AsCached()
{
BindInfo.Scope = ScopeTypes.Singleton;
return this;
}
public ConcreteIdArgConditionCopyNonLazyBinder AsSingle()
{
BindInfo.Scope = ScopeTypes.Singleton;
BindInfo.MarkAsUniqueSingleton = true;
return this;
}
// Note that this is the default so it's not necessary to call this
public ConcreteIdArgConditionCopyNonLazyBinder AsTransient()
{
BindInfo.Scope = ScopeTypes.Transient;
return this;
}
}
}