Exemple #1
0
 private void ValidateCommand(PluginProfileErrorCollection errors)
 {
     if (CommandName.IsNullOrWhitespace())
     {
         errors.Add(new PluginProfileError {
             FieldName = "CommandName", Message = "Command name shoud not be empty"
         });
     }
 }