예제 #1
0
 public SafeFunc(Func <TResult> function, ILogger logger)
 {
     _function = function;
     _logger   = SafeLogger.FromLogger(logger);
 }
예제 #2
0
 public SafeAction(Action <TParam> action, ILogger logger)
 {
     _action = action;
     _logger = SafeLogger.FromLogger(logger);
 }