예제 #1
0
        public App(iProductsRepository productsRepository)
        {
            InitializeComponent();

            MainPage = new ProductsPage()
            {
                BindingContext = new ProductViewModel(productsRepository)
            };
        }
예제 #2
0
 public HomeController(iProductsRepository productsRepository)
 {
     this.productRepo = productsRepository;
 }
예제 #3
0
 public ProductViewModel(iProductsRepository productsRepository)
 {
     _productsRepository = productsRepository;
 }
예제 #4
0
 public ProductsService(iProductsRepository productRepo)
 {
     _productRepo = productRepo;
 }