Some adaptation needed following Orchard 1.7

May 29, 2013 at 7:30 AM
Hi Nick,

Following this I discovered that some way of writing eventHandlers code was only meaningful when the object inherit directly from IDependency but not when inheriting from IEventHandler

it appears that IEnumerable<IUserEventHandler> is not necessary, and all the loops used to propagate through its elements, so the following code should be adapted

public class OpenAuthUserEventHandler : IUserEventHandler
public interface IOpenAuthUserEventHandler : IEventHandler with
public class OpenAuthUserEventHandler : IOpenAuthUserEventHandler and
OpenAuthMembershipServices->private readonly IEnumerable<IOpenAuthUserEventHandler> _openAuthUserEventHandlers;