Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public WishlistPlayedBackend(ICheckConnection checkConnection, IWishlistPlayedProxy wishlistPlayedProxy, ICustomGameProxy customGameProxy)
 {
     _checkConnection     = checkConnection;
     _wishlistPlayedProxy = wishlistPlayedProxy;
     _customGameProxy     = customGameProxy;
 }