Initial Commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user