public void Save(Gamer gamer, IGamerCheckService gamerCheckService) { if (gamerCheckService.CheckIfRealGamer(gamer)) { Console.WriteLine(gamer.FirstName + " saved."); } else { Console.WriteLine("User didn't verification!"); } }
public GamerManager(IGamerCheckService gamerCheckService) { _gamerCheckService = gamerCheckService; }
public GamerManager(IGamerCheckService _gamerCheckService) { gamerCheckService = _gamerCheckService; }
public GamerManager(IGamerCheckService gamerCheckService)// constructor { _gamerCheckService = gamerCheckService; }
public GamerManager(IGamerCheckService gamerCheck) { _gamerCheck = gamerCheck; }
public BattlefieldGamerManager(IGamerCheckService gamerCheckService) { this._gamerCheckService = gamerCheckService; }
public bool Check(Gamer gamer) { gamerCheckService = new MernisServiceAdapter(); return(gamerCheckService.Check(gamer)); }
public GamerListManager(IGamerCheckService gamerCheckService) { gamers = new List <Gamer>(); _gamerCheckService = gamerCheckService; }
private IGamerCheckService _gamerCheckService; //IGamerCheckService interfaceini kullanarak bir _gamerCheckService tanımladık. public GamerManager(IGamerCheckService gamerCheckService) //IgamerCheckService tipinde gelen gamerCheckService geliyor { _gamerCheckService = gamerCheckService; //bunun referansını _gamerCheckService e tutturuyoruz }
public GamerRegisterManager(IGamerCheckService gamerCheckService, ILogService logService) { _gamerCheckService = gamerCheckService; _logService = logService; }
public GamerManager(IGamerCheckService checkService) { _checkService = checkService; }
public RegistryManager(IGamerCheckService gamerCheckService) { _gamerCheckService = gamerCheckService; }