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