Пример #1
0
 public string GetCommandValue(Task task)
 {
     var value = CommandValue;
     if (!string.IsNullOrWhiteSpace(CommandValue) && Regex.IsMatch(value, "\\[(.*)\\]"))
     {
         value = Regex.Match(value, "\\[(.*)\\]").Groups[1].Value;
         value = task.GetCustomDataValue(value);
     }
     return value;
 }