コード例 #1
0
 // Dependancy injection resolves all the variables the constructor takes in
 public DetailedPageBackend(ICheckConnection checkConnection, IGameProxy gameProxy, ICustomGameProxy customGameProxy, IWishlistPlayedProxy wishlistPlayedProxy)
 {
     _checkConnection     = checkConnection;
     _gameProxy           = gameProxy;
     _customGameProxy     = customGameProxy;
     _wishlistPlayedProxy = wishlistPlayedProxy;
 }
コード例 #2
0
 public SettingsBackend(ICheckConnection checkConnection, IUserProxy userProxy)
 {
     _checkConnection = checkConnection;
     _userProxy       = userProxy;
 }
コード例 #3
0
 public WishlistPlayedBackend(ICheckConnection checkConnection, IWishlistPlayedProxy wishlistPlayedProxy, ICustomGameProxy customGameProxy)
 {
     _checkConnection     = checkConnection;
     _wishlistPlayedProxy = wishlistPlayedProxy;
     _customGameProxy     = customGameProxy;
 }
コード例 #4
0
 public SearchBackend(ICheckConnection checkConnection, IGameProxy gameProxy, ICustomGameProxy customGameProxy)
 {
     _checkConnection = checkConnection;
     _gameProxy       = gameProxy;
     _customGameProxy = customGameProxy;
 }
コード例 #5
0
 public RegistrationBackend(ICheckConnection checkConnection, IUserProxy userProxy)
 {
     _checkConnection = checkConnection;
     _userProxy       = userProxy;
 }
コード例 #6
0
 public LoginBackend(ICheckConnection checkConnection, IUserProxy userProxy)
 {
     _checkConnection = checkConnection;
     _userProxy       = userProxy;
 }