コード例 #1
0
ファイル: ActionOption.cs プロジェクト: jodysaliba/simpl
        private static ActionOption option(ActionOptionType type, String content)
        {
            var a = new ActionOption();

            a.content = content;
            a.type    = type;
            return(a);
        }
コード例 #2
0
 public String get(ActionOptionType type)
 {
     return(_params.First(ret => ret.type == type).content);
 }
コード例 #3
0
 public bool has(ActionOptionType type)
 {
     return(_params.Any(ret => ret.type == type));
 }
コード例 #4
0
ファイル: AplAction.cs プロジェクト: jodysaliba/simpl
 public bool has(ActionOptionType type)
 {
     return _params.Any(ret => ret.type == type);
 }
コード例 #5
0
ファイル: AplAction.cs プロジェクト: jodysaliba/simpl
 public String get(ActionOptionType type)
 {
     return _params.First(ret => ret.type == type).content;
 }