Пример #1
0
        //--//

        public SafeAction(Action <TParam> action, ILogger logger)
        {
            _action = action;
            _logger = SafeLogger.FromLogger(logger);
        }
Пример #2
0
        //--//

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