Ejemplo n.º 1
0
        //--//

        public SafeAction(Action <TParam> action, ILogger logger)
        {
            _action = action;
            _logger = SafeLogger.FromLogger(logger);
        }
Ejemplo n.º 2
0
        //--//

        public SafeFunc(Func <TResult> function, ILogger logger)
        {
            _function = function;
            _logger   = SafeLogger.FromLogger(logger);
        }