Esempio n. 1
0
 public IInitializationFactory Enqueue(object target)
 {
     find?.Enqueue(target);
     inject?.Enqueue(target);
     initialize?.Enqueue(target);
     return(this);
 }
Esempio n. 2
0
        public IDependencyInjector To(object target)
        {
            insert.Enqueue(target);

            if (!insert.IsExecuting)
            {
                insert.Execute();
            }

            return(this);
        }
Esempio n. 3
0
        public IDependencyInjector From(object source)
        {
            find.Enqueue(source);

            if (!find.IsExecuting)
            {
                find.Execute();
            }

            return(this);
        }