main
 1using Gorilla.Commons.Infrastructure.Container;
 2
 3namespace presentation.windows
 4{
 5    public class WpfPresenterFactory : PresenterFactory
 6    {
 7        DependencyRegistry container;
 8
 9        public WpfPresenterFactory(DependencyRegistry container)
10        {
11            this.container = container;
12        }
13
14        public T create<T>() where T : Presenter
15        {
16            return container.get_a<T>();
17        }
18    }
19}