24 lines
454 B
C#
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;
|
|
}
|
|
}
|
|
}
|