Exemple #1
0
        private static ActionOption option(ActionOptionType type, String content)
        {
            var a = new ActionOption();

            a.content = content;
            a.type    = type;
            return(a);
        }
Exemple #2
0
 public String get(ActionOptionType type)
 {
     return(_params.First(ret => ret.type == type).content);
 }
Exemple #3
0
 public bool has(ActionOptionType type)
 {
     return(_params.Any(ret => ret.type == type));
 }
Exemple #4
0
 public bool has(ActionOptionType type)
 {
     return _params.Any(ret => ret.type == type);
 }
Exemple #5
0
 public String get(ActionOptionType type)
 {
     return _params.First(ret => ret.type == type).content;
 }