public WishlistPage(HomePage.UserFunction userFunction, HomePage.ErrorHandling errorHandling, HomePage.GameList gameList)
        {
            _userFunction  = userFunction;
            _errorHandling = errorHandling;
            _gameList      = gameList;

            InitializeComponent();
        }
Exemple #2
0
 public Search(string searchItem, HomePage.LoginFunction loginFunction, HomePage.UserFunction userFunction, HomePage.ErrorHandling errorHandling)
 {
     _searchItem    = searchItem;
     _loginFunction = loginFunction;
     _userFunction  = userFunction;
     _errorHandling = errorHandling;
     InitializeComponent();
 }
        // id is the unique id of the record from the database, in the Rawg API its in the form of a slug, in the custom API its in the form of an ObjectID
        // rawgOrCustom is a bool. Depending on where the item is being stored the app will do something different to retrieve it differently
        // It will be set to true if its from the Rawg db, and it will be true if its from my custom db
        public DetailedPage(string id, HomePage.LoginFunction loginFunction, HomePage.UserFunction userFunction, HomePage.ErrorHandling errorHandling)
        {
            _id            = id;
            _loginFunction = loginFunction;
            _userFunction  = userFunction;
            _errorHandling = errorHandling;

            InitializeComponent();
        }