Exemple #1
0
 public SingletonProviderMap(DiContainer container)
 {
     _container = container;
 }
 public GameObjectSingletonProvider(DiContainer container, string name)
 {
     _name      = name;
     _container = container;
 }
 public static IEnumerable <ZenjectResolveException> ValidateContract(
     DiContainer container, Type contractType)
 {
     return(ValidateContract(
                container, contractType, new ResolveContext(contractType)));
 }
 public ReferenceBinder(DiContainer container, SingletonProviderMap singletonMap)
     : base(container)
 {
     _singletonMap = singletonMap;
 }
Exemple #5
0
 public static void Inject(DiContainer container, object injectable, IEnumerable <object> additional)
 {
     Inject(container, injectable, additional, false);
 }
Exemple #6
0
 public static void Inject(DiContainer container, object injectable)
 {
     Inject(container, injectable, Enumerable.Empty <object>());
 }
Exemple #7
0
 public SingletonProvider(
     DiContainer container, SingletonLazyCreator creator)
 {
     _creator   = creator;
     _container = container;
 }