public Bank(string JsonFilePath, Utility.UIStyling UIStyling, UIBuffer UIBuffer)
 {
     _UIBuffer     = UIBuffer;
     _UIStyling    = UIStyling;
     _bankService  = new BankService(string.Empty, JsonFilePath);
     _dataProvider = new DataProvider(JsonFilePath);
 }
Exemple #2
0
 public App(string JsonFilePath)
 {
     _UIStyling          = new Utility.UIStyling(100, 50);
     _UIBuffer           = new UIBuffer();
     _userSignUp         = new Authentication.SignUp(JsonFilePath, _UIStyling, _UIBuffer);
     _bankUI             = new Bank(JsonFilePath, _UIStyling, _UIBuffer);
     _JsonFilePath       = JsonFilePath;
     _userAuthentication = new Authentication.Login(JsonFilePath, _UIStyling, _UIBuffer);
 }