Exemple #1
0
        private TasqHandlerDetail GetHandlerDetail(ITasq tasq)
        {
            var tasqType = tasq.GetType();

            var handlerDetail = ForcedHandlerDetail != null
                ? ForcedHandlerDetail
                : p_TasqHandlerResolver.ResolveHandler(tasqType);

            if (autoClearReference)
            {
                ForcedHandlerDetail = null;
            }

            return(handlerDetail);
        }
Exemple #2
0
 internal LogEventHandlerEventArgs(ITasq tasq)
     : this($"Tasq: {tasq.GetType().FullName}")
 {
 }