File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
src/Umbraco.Cms.Integrations.Crm.Dynamics/Migrations Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,29 @@ public class UmbracoAppStartingHandler : INotificationHandler<UmbracoApplication
13
13
{
14
14
private readonly IMigrationPlanExecutor _migrationPlanExecutor ;
15
15
16
+ #if NET5_0
16
17
private readonly IScopeProvider _scopeProvider ;
18
+ #else
19
+ private readonly ICoreScopeProvider _scopeProvider ;
20
+ #endif
17
21
18
22
private readonly IKeyValueService _keyValueService ;
19
23
20
24
private readonly IRuntimeState _runtimeState ;
21
25
26
+ #if NET5_0
22
27
public UmbracoAppStartingHandler (
23
28
IScopeProvider scopeProvider ,
24
29
IMigrationPlanExecutor migrationPlanExecutor ,
25
30
IKeyValueService keyValueService ,
26
31
IRuntimeState runtimeState )
32
+ #else
33
+ public UmbracoAppStartingHandler (
34
+ ICoreScopeProvider scopeProvider ,
35
+ IMigrationPlanExecutor migrationPlanExecutor ,
36
+ IKeyValueService keyValueService ,
37
+ IRuntimeState runtimeState )
38
+ #endif
27
39
{
28
40
_migrationPlanExecutor = migrationPlanExecutor ;
29
41
You can’t perform that action at this time.
0 commit comments