25 lines
423 B
C#
25 lines
423 B
C#
namespace Zenject
|
|
{
|
|
[NoReflectionBaking]
|
|
public class IfNotBoundBinder
|
|
{
|
|
public IfNotBoundBinder(BindInfo bindInfo)
|
|
{
|
|
BindInfo = bindInfo;
|
|
}
|
|
|
|
// Do not use this
|
|
public BindInfo BindInfo
|
|
{
|
|
get;
|
|
private set;
|
|
}
|
|
|
|
public void IfNotBound()
|
|
{
|
|
BindInfo.OnlyBindIfNotBound = true;
|
|
}
|
|
}
|
|
}
|
|
|