elsa-core/src/web/modules/Flowsharp.Web.ViewComponents/Startup.cs

19 lines
504 B
C#
Raw Normal View History

2018-10-21 21:01:31 +00:00
using Flowsharp.Activities;
using Flowsharp.Extensions;
2018-10-20 21:24:41 +00:00
using Microsoft.Extensions.DependencyInjection;
2018-10-21 21:01:31 +00:00
using OrchardCore.DisplayManagement;
2018-10-20 21:24:41 +00:00
using OrchardCore.Modules;
namespace Flowsharp.Web.ViewComponents
{
public class Startup : StartupBase
{
public override void ConfigureServices(IServiceCollection services)
{
2018-10-21 21:01:31 +00:00
services
.AddFlowsharpCore()
.AddScoped<IDisplayManager<IActivity>, DisplayManager<IActivity>>();
2018-10-20 21:24:41 +00:00
}
}
}