File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed
Umbraco.Core/Notifications
Umbraco.Infrastructure/Runtime Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright (c) Umbraco.
2
2
// See LICENSE for more details.
3
3
4
+ using System ;
5
+
4
6
namespace Umbraco . Cms . Core . Notifications
5
7
{
8
+ // TODO (V10): Remove this class.
9
+
6
10
/// <summary>
7
11
/// Notification that occurs during the Umbraco boot process, before instances of <see cref="IComponent"/> initialize.
8
12
/// </summary>
13
+ [ Obsolete ( "This notification was added to the core runtime start-up as a hook for Umbraco Cloud local connection string and database setup. " +
14
+ "Following re-work they are no longer used (from Deploy 9.2.0)." +
15
+ "Given they are non-documented and no other use is expected, they can be removed in the next major release" ) ]
9
16
public class UmbracoApplicationComponentsInstallingNotification : INotification
10
17
{
11
18
/// <summary>
12
- /// Initializes a new instance of the <see cref="UmbracoApplicationStartingNotification "/> class.
19
+ /// Initializes a new instance of the <see cref="UmbracoApplicationComponentsInstallingNotification "/> class.
13
20
/// </summary>
14
21
/// <param name="runtimeLevel">The runtime level</param>
15
22
public UmbracoApplicationComponentsInstallingNotification ( RuntimeLevel runtimeLevel ) => RuntimeLevel = runtimeLevel ;
Original file line number Diff line number Diff line change 1
1
// Copyright (c) Umbraco.
2
2
// See LICENSE for more details.
3
3
4
+ using System ;
5
+
4
6
namespace Umbraco . Cms . Core . Notifications
5
7
{
8
+ // TODO (V10): Remove this class.
9
+
6
10
/// <summary>
7
11
/// Notification that occurs during Umbraco boot after the MainDom has been acquired.
8
12
/// </summary>
13
+ [ Obsolete ( "This notification was added to the core runtime start-up as a hook for Umbraco Cloud local connection string and database setup. " +
14
+ "Following re-work they are no longer used (from Deploy 9.2.0)." +
15
+ "Given they are non-documented and no other use is expected, they can be removed in the next major release" ) ]
9
16
public class UmbracoApplicationMainDomAcquiredNotification : INotification
10
17
{
11
18
/// <summary>
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ public async Task StartAsync(CancellationToken cancellationToken)
133
133
// acquire the main domain - if this fails then anything that should be registered with MainDom will not operate
134
134
AcquireMainDom ( ) ;
135
135
136
+ // TODO (V10): Remove this obsoleted notification publish.
136
137
await _eventAggregator . PublishAsync ( new UmbracoApplicationMainDomAcquiredNotification ( ) , cancellationToken ) ;
137
138
138
139
// notify for unattended install
@@ -171,6 +172,7 @@ public async Task StartAsync(CancellationToken cancellationToken)
171
172
break ;
172
173
}
173
174
175
+ // TODO (V10): Remove this obsoleted notification publish.
174
176
await _eventAggregator . PublishAsync ( new UmbracoApplicationComponentsInstallingNotification ( State . Level ) , cancellationToken ) ;
175
177
176
178
// create & initialize the components
You can’t perform that action at this time.
0 commit comments