Convert use of a Func<> or Action<> to a defined delegate and replace all occurances

if I have a number of places where a particular use of Func<> or Action<> is defined I eventually get to the point where i want to replace them by a delegate so the signiture is only defined in one place.


private readonly Action<IStateActionRequest, IStateTransitionInfo> m_funcTransitionFinalisationProcessing;
public AStateManager(IList<IStateWrapper> states,           
     Action<IStateActionRequest, IStateTransitionInfo> funcTransitionFinalisationProcessing,I guess R# doesnt have a refactor for this yet?

does anyone have a plugin that does this?


Please sign in to leave a comment.