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

27 lines
606 B
C#
Raw Normal View History

2020-05-27 18:29:36 +02:00
using Microsoft.Extensions.DependencyInjection;
using System.Collections.Generic;
using zero.Core.Assemblies;
namespace zero.Core.Options
{
public class ZeroStartupOptions : IZeroStartupOptions
{
public IList<IAssemblyDiscoveryRule> AssemblyDiscoveryRules { get; private set; } = new List<IAssemblyDiscoveryRule>();
2020-05-27 18:29:36 +02:00
public IMvcBuilder Mvc { get; private set; }
public ZeroStartupOptions(IMvcBuilder mvc)
{
Mvc = mvc;
}
}
public interface IZeroStartupOptions
{
IList<IAssemblyDiscoveryRule> AssemblyDiscoveryRules { get; }
2020-05-27 18:29:36 +02:00
IMvcBuilder Mvc { get; }
}
}