Files
mixtape/zero.Core/Configuration/ZeroStartupOptions.cs
T

23 lines
514 B
C#
Raw Normal View History

2021-11-19 14:59:24 +01:00
using Microsoft.Extensions.DependencyInjection;
2021-11-20 13:52:28 +01:00
namespace zero.Configuration;
2021-11-19 14:59:24 +01:00
public class ZeroStartupOptions : IZeroStartupOptions
{
public IList<IAssemblyDiscoveryRule> AssemblyDiscoveryRules { get; private set; } = new List<IAssemblyDiscoveryRule>();
public IMvcBuilder Mvc { get; private set; }
public ZeroStartupOptions(IMvcBuilder mvc)
{
Mvc = mvc;
}
}
public interface IZeroStartupOptions
{
IList<IAssemblyDiscoveryRule> AssemblyDiscoveryRules { get; }
IMvcBuilder Mvc { get; }
}