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:
Shannon Deminick
2012-08-22 05:21:02 +06:00
parent 72ac3532d2
commit bee73cce12
14 changed files with 107 additions and 96 deletions

View File

@@ -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()