Exemplo n.º 1
0
 public void Attack(string target)
 {
     Validator.CheckIfStringIsNullOrEmpty(target);
     this.targets.Add(target);
 }
Exemplo n.º 2
0
 public void Attack(string target)
 {
     Validator.CheckIfStringIsNullOrEmpty(target, "Target cannot be null or empty");
     this.targets.Add(target);
 }
Exemplo n.º 3
0
 public void Attack(string target)
 {
     Validator.CheckIfStringIsNullOrEmpty(target, string.Format(ErrorMessages.StringNullOrEmptyErrorMessage, "Target"));
     this.Targets.Add(target);
 }