public UseDownloadAndSaveEasy1(IDownloadFromInternet downloadFromInternet, ISaveToDatabase saveToDatabase)
 {
     _downloadFromInternet = downloadFromInternet;
     _saveToDatabase       = saveToDatabase;
 }
コード例 #2
0
 public CheckoutController(ILoggedInUser loggedInUser, ISaveToDatabase saveToDatabase)
 {
     _loggedInUser   = loggedInUser;
     _saveToDatabase = saveToDatabase;
 }
コード例 #3
0
 public UseDownloadAndSaveHard(IDownloadFromInternet downloadFromInternet1, IDownloadFromInternet downloadFromInternet2, ISaveToDatabase saveToDatabase)
 {
     _downloadFromInternet1 = downloadFromInternet1;
     _downloadFromInternet2 = downloadFromInternet2;
     _saveToDatabase        = saveToDatabase;
 }
コード例 #4
0
 public HomeController(ISaveToDatabase saveToDatabase)
 {
     this._saveToDatabase = saveToDatabase;
 }