private static ActionOption option(ActionOptionType type, String content) { var a = new ActionOption(); a.content = content; a.type = type; return(a); }
public String get(ActionOptionType type) { return(_params.First(ret => ret.type == type).content); }
public bool has(ActionOptionType type) { return(_params.Any(ret => ret.type == type)); }
public bool has(ActionOptionType type) { return _params.Any(ret => ret.type == type); }
public String get(ActionOptionType type) { return _params.First(ret => ret.type == type).content; }