2021-11-19 14:59:24 +01:00
|
|
|
using Microsoft.Extensions.DependencyModel;
|
|
|
|
|
|
2021-11-20 13:52:28 +01:00
|
|
|
namespace zero.Architecture;
|
2021-11-19 14:59:24 +01:00
|
|
|
|
|
|
|
|
public interface IAssemblyDiscoveryRule
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Returns true if the specified runtime library should be added to
|
|
|
|
|
/// the ApplicationPartManager; otherwise false.
|
|
|
|
|
/// </summary>
|
|
|
|
|
bool IsValid(RuntimeLibrary library, AssemblyDiscoveryContext context);
|
|
|
|
|
}
|