Exemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();

            //repository = RepositoryFactory.GetPersonRepository();
            repository = GenericFactory.Get <IPersonRepository>();
        }
Exemplo n.º 2
0
 public MainWindow()
 {
     InitializeComponent();
     repository = GenericFactory.Get <IRepository <Person, string> >();
 }
        public void Example()
        {
            IRepository <object, string> repository = GenericFactory.Get <IRepository <object, string> >();

            repository.GetItems();
        }