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

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