public Dragon(string id, int hp, int reward, IHendler logger) { this.id = id; this.hp = hp; this.reward = reward; this.logger = logger; }
public ImportFileApp(IHendler <ImportFileCommand> importFileHendler, IFileReadService fileReadService, IConfigurationRoot configuration) { this._importFileHendler = importFileHendler; this._fileReadService = fileReadService; string pathUser = GetUserHome; _dirIn = $"{pathUser}{configuration["ImportDirectoryInput"]}"; _dirOut = $"{pathUser}{configuration["ImportDirectoryOutput"]}"; this._directoryReadService = new DirectoryReadService(_dirIn); }
public Warrior(string id, int damage, IHendler logger) : base(id, damage, logger) { }
public AbstractHero(string id, int damage, IHendler logger) { this.id = id; this.damage = damage; this.logger = logger; }
public void SetSuccessor(IHendler handler) { this.successor = successor; }