示例#1
0
 public failure Via(V reason = null,
                    [P] S p  = "", [M] S m = "", [L] int l = 0)
 => Lg.Failure(reason, p, m, l);
示例#2
0
 public static loop cont(ValidString reason = null,
                         [P] S p            = "", [M] S m = "", [L] int l = 0)
 => Lg.Forever(reason, p, m, l);
示例#3
0
 public static action done(V reason = null,
                           [P] S p  = "", [M] S m = "", [L] int l = 0)
 => Lg.Action(reason, p, m, l);
示例#4
0
 public static failure fail(ValidString reason = null,
                            [P] S p            = "", [M] S m = "", [L] int l = 0)
 => Lg.Failure(reason, p, m, l);
示例#5
0
 public impending Via
     (V reason = null, [P] S p = "", [M] S m = "", [L] int l = 0)
 => Lg.Impending(this, reason, p, m, l);
示例#6
0
 public action Via(V reason = null,
                   [P] S p  = "", [M] S m = "", [L] int l = 0)
 => Lg.Action(reason, p, m, l);
示例#7
0
     public static X status(this bool self, ValidString reason = null,
                            [P] string path = "", [M] string member = "",
                            [L] int line    = 0) => X.log
 ? Lg.Status(self ? X._done : X._fail, reason, path, member, line)
 : self ? X._done : X._fail;
示例#8
0
 public status Via(ValidString reason = null,
                   [P] string path    = "", [M] string member = "",
                   [L] int line       = 0)
 => log?Lg.Status(this, reason, path, member, line) : this;
示例#9
0
 public static status cont(ValidString reason = null,
                           [P] S p            = "", [M] S m = "", [L] int l = 0)
 => log?Lg.Status(_cont, reason, p, m, l) : _cont;
示例#10
0
 public static action @void(ValidString reason = null,
                            [P] S p            = "", [M] S m = "", [L] int l = 0)
 => Lg.Action(reason, p, m, l);
示例#11
0
 public static status fail(ValidString reason = null,
                           [P] S p            = "", [M] S m = "", [L] int l = 0)
 => log?Lg.Status(_fail, reason, p, m, l) : _fail;
示例#12
0
 public static status done(ValidString reason = null,
                           [P] S p            = "", [M] S m = "", [L] int l = 0)
 => log?Lg.Status(_done, reason, p, m, l) : _done;
示例#13
0
 public status ViaDecorator(IDecorator scope, V reason = null)
 => log?Lg.ViaScope(this, scope, reason) : this;
示例#14
0
 public loop Via(V reason = null, [P] S p = "", [M] S m = "", [L] int l = 0)
 => Lg.Forever(reason, p, m, l);
示例#15
0
 public static impending doom
     (ValidString reason = null, [P] S p = "", [M] S m = "", [L] int l = 0)
 => Lg.Impending(impending._fail, reason, p, m, l);
示例#16
0
 public static pending cont(ValidString reason = null,
                            [P] S p            = "", [M] S m = "", [L] int l = 0)
 => Lg.Pending(pending._cont, reason, p, m, l);
示例#17
0
 public static status Eval(status s, [P] S path = "", [M] S member = "",
                           [L] int line         = 0)
 => log?Lg.Status(s, null, path, member, line) : s;