Files
Flappy-Bird-AI-Driven-Bohda…/Assets/Plugins/Zenject/Source/Binding/Binders/NonLazyBinder.cs
T
2026-03-20 13:04:43 +02:00

24 lines
454 B
C#

namespace Zenject
{
[NoReflectionBaking]
public class NonLazyBinder : IfNotBoundBinder
{
public NonLazyBinder(BindInfo bindInfo)
: base(bindInfo)
{
}
public IfNotBoundBinder NonLazy()
{
BindInfo.NonLazy = true;
return this;
}
public IfNotBoundBinder Lazy()
{
BindInfo.NonLazy = false;
return this;
}
}
}