Exemplo n.º 1
0
        public static LookupId SpawnLookupId(IProvider provider, BindingId bindingId)
        {
            var lookupId = _lookupIdPool.Spawn();

            lookupId.Provider  = provider;
            lookupId.BindingId = bindingId;

            return(lookupId);
        }
Exemplo n.º 2
0
        public static InjectContext SpawnInjectContext(DiContainer container, Type memberType)
        {
            var context = _contextPool.Spawn();

            context.Container  = container;
            context.MemberType = memberType;

            return(context);
        }
Exemplo n.º 3
0
 public static BindStatement SpawnStatement()
 {
     return(_bindStatementPool.Spawn());
 }
Exemplo n.º 4
0
 public static BindInfo SpawnBindInfo()
 {
     return(_bindInfoPool.Spawn());
 }