Changed IApplicationEvents to IApplicationEventHandler.
Removed all reflection calls to BindingFlags.NonPublic which was mostly used by DynamicNode, this will not work in medium trust.
This commit is contained in:
@@ -23,11 +23,11 @@ namespace Umbraco.Web
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the <see cref="IApplicationEvents"/> implementations.
|
||||
/// Gets the <see cref="IApplicationEventHandler"/> implementations.
|
||||
/// </summary>
|
||||
public IEnumerable<IApplicationEvents> ApplicationEventHandlers
|
||||
public IEnumerable<IApplicationEventHandler> ApplicationEventHandlers
|
||||
{
|
||||
get { return Values.OfType<IApplicationEvents>(); }
|
||||
get { return Values.OfType<IApplicationEventHandler>(); }
|
||||
}
|
||||
|
||||
public override void Clear()
|
||||
|
||||
Reference in New Issue
Block a user