コード例 #1
0
        public static string CSV(string delimeted, string escape, object[] values)
        {
            var vals = new Dynamic[values.Length];

            for (int i = 0; i < vals.Length; i++)
            {
                vals[i] = ValuesEx.To(values[i]);
            }

            return(CSV(delimeted, escape, vals));
        }
コード例 #2
0
ファイル: Shell.cs プロジェクト: bagundes/klib
        public static void Report(Implement.InternalException lex)
        {
            var rep = new model.Report();

            rep.CID     = "Undefined";
            rep.Id      = lex.Code;
            rep.Message = lex.Message;
            rep.Details = ValuesEx.To(lex).ToJson();
            core.ReportSystem.Save(rep);
            core.ReportSystem.Send(rep);
        }