Exemplo n.º 1
0
 public Dragon(string id, int hp, int reward, IHendler logger)
 {
     this.id     = id;
     this.hp     = hp;
     this.reward = reward;
     this.logger = logger;
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public Warrior(string id, int damage, IHendler logger) : base(id, damage, logger)
 {
 }
Exemplo n.º 4
0
 public AbstractHero(string id, int damage, IHendler logger)
 {
     this.id     = id;
     this.damage = damage;
     this.logger = logger;
 }
Exemplo n.º 5
0
 public void SetSuccessor(IHendler handler)
 {
     this.successor = successor;
 }