Initial Commit

This commit is contained in:
2026-03-16 14:38:46 +02:00
commit b8f7327a21
2327 changed files with 253610 additions and 0 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;
}
}
}