this gives us more control over all Resolvers and streamlines them. Created IBootManager, CoreBootManager and WebBootManager to handle the application initialization including the creation of Resolvers. This means that if people are using the dlls outside of the web app, they can run the boot strappers to initialize everything.
17 lines
387 B
C#
17 lines
387 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Umbraco.Core;
|
|
|
|
namespace Umbraco.Tests
|
|
{
|
|
/// <summary>
|
|
/// Used for PluginTypeResolverTests
|
|
/// </summary>
|
|
internal static class PluginManagerExtensions
|
|
{
|
|
public static IEnumerable<Type> ResolveFindMeTypes(this PluginManager resolver)
|
|
{
|
|
return resolver.ResolveTypes<PluginManagerTests.IFindMe>();
|
|
}
|
|
}
|
|
} |