Beispiel #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));
        }
Beispiel #2
0
        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);
        }