forked from Squidex/squidex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRuleEventPlugin.cs
More file actions
22 lines (19 loc) · 818 Bytes
/
Copy pathRuleEventPlugin.cs
File metadata and controls
22 lines (19 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ==========================================================================
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Squidex.Domain.Apps.Entities.Backup;
using Squidex.Infrastructure.Plugins;
namespace Squidex.Extensions.Actions;
public sealed class RuleEventPlugin : IPlugin
{
public void ConfigureServices(IServiceCollection services, IConfiguration config)
{
services.AddTransientAs<RuleEventMigrator>()
.As<IEventMigrator>();
}
}