Exemplo n.º 1
0
 public static status Eval(status s,
                           [P] S path = "", [M] S member = "", [L] int line = 0)
 => status.log ? Lg.Status(s, null, path, member, line) : s;
Exemplo n.º 2
0
 public static status cont(V reason = null,
                           [P] S p  = "", [M] S m = "", [L] int l = 0)
 => status.log ? Lg.Status(status._cont, reason, p, m, l)
     : status._cont;
Exemplo n.º 3
0
 public static status fail(V reason = null,
                           [P] S p  = "", [M] S m = "", [L] int l = 0)
 => status.log ? Lg.Status(status._fail, reason, p, m, l)
     : status._fail;
Exemplo n.º 4
0
 public static status done(V reason = null,
                           [P] S p  = "", [M] S m = "", [L] int l = 0)
 => status.log ? Lg.Status(status._done, reason, p, m, l)
     : status._done;
Exemplo n.º 5
0
 public static status undef([P] S p = "", [M] S m = "", [L] int l = 0)
 => status.log ? Lg.Status(status._fail,
                           (LS)null && "undef", p, m, l)
     : status._fail;
Exemplo n.º 6
0
        // ==============================================================

        public static status undef(status @value,
                                   [P] S p = "", [M] S m = "", [L] int l = 0)
        => status.log ? Lg.Status(@value,
                                  (LS)null && "undef", p, m, l)
            : @value;