private TasqHandlerDetail GetHandlerDetail(ITasq tasq) { var tasqType = tasq.GetType(); var handlerDetail = ForcedHandlerDetail != null ? ForcedHandlerDetail : p_TasqHandlerResolver.ResolveHandler(tasqType); if (autoClearReference) { ForcedHandlerDetail = null; } return(handlerDetail); }
internal LogEventHandlerEventArgs(ITasq tasq) : this($"Tasq: {tasq.GetType().FullName}") { }