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