23 lines
519 B
C#
23 lines
519 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace Finch.Configuration;
|
|
|
|
public class FinchStartupOptions : IFinchStartupOptions
|
|
{
|
|
public IList<IAssemblyDiscoveryRule> AssemblyDiscoveryRules { get; private set; } = new List<IAssemblyDiscoveryRule>();
|
|
|
|
public IMvcBuilder Mvc { get; private set; }
|
|
|
|
|
|
public FinchStartupOptions(IMvcBuilder mvc)
|
|
{
|
|
Mvc = mvc;
|
|
}
|
|
}
|
|
|
|
public interface IFinchStartupOptions
|
|
{
|
|
IList<IAssemblyDiscoveryRule> AssemblyDiscoveryRules { get; }
|
|
|
|
IMvcBuilder Mvc { get; }
|
|
} |