Use most derived Delegate type, rather than the DelgateX base type. Not sure if that was a mistake from refactoring, but it was kind of odd.
Also, by making use of CTAD guides on the Delegate object, we can get away from using the MakeDelegate factory methods. The only purpose of the factory methods appears to have been to help the compiler deduce argument types, which the CTAD guide can do.
Use most derived
Delegate
type, rather than theDelgateX
base type. Not sure if that was a mistake from refactoring, but it was kind of odd.Also, by making use of CTAD guides on the
Delegate
object, we can get away from using theMakeDelegate
factory methods. The only purpose of the factory methods appears to have been to help the compiler deduce argument types, which the CTAD guide can do.