You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Orleans.Runtime/Hosting/SiloBuilderStartupExtensions.cs
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,6 @@ public static class SiloBuilderStartupExtensions
28
28
/// <returns>
29
29
/// The provided <see cref="ISiloBuilder"/>.
30
30
/// </returns>
31
-
[Obsolete("AddStartupTask is deprecated. Use BackgroundService or IHostedService instead. See https://learn.microsoft.com/dotnet/orleans/host/configuration-guide/startup-tasks for more information.",error:false)]
32
31
publicstaticISiloBuilderAddStartupTask<TStartup>(
33
32
thisISiloBuilderbuilder,
34
33
intstage=ServiceLifecycleStage.Active)
@@ -52,7 +51,6 @@ public static ISiloBuilder AddStartupTask<TStartup>(
52
51
/// <returns>
53
52
/// The provided <see cref="ISiloBuilder"/>.
54
53
/// </returns>
55
-
[Obsolete("AddStartupTask is deprecated. Use BackgroundService or IHostedService instead. See https://learn.microsoft.com/dotnet/orleans/host/configuration-guide/startup-tasks for more information.",error:false)]
56
54
publicstaticISiloBuilderAddStartupTask(
57
55
thisISiloBuilderbuilder,
58
56
IStartupTaskstartupTask,
@@ -76,7 +74,6 @@ public static ISiloBuilder AddStartupTask(
76
74
/// <returns>
77
75
/// The provided <see cref="ISiloBuilder"/>.
78
76
/// </returns>
79
-
[Obsolete("AddStartupTask is deprecated. Use BackgroundService or IHostedService instead. See https://learn.microsoft.com/dotnet/orleans/host/configuration-guide/startup-tasks for more information.",error:false)]
Copy file name to clipboardExpand all lines: src/Orleans.Runtime/Lifecycle/IStartupTask.cs
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,11 @@
1
-
usingSystem;
2
-
usingSystem.Threading;
1
+
usingSystem.Threading;
3
2
usingSystem.Threading.Tasks;
4
3
5
4
namespaceOrleans.Runtime
6
5
{
7
6
/// <summary>
8
7
/// Defines an action to be taken after silo startup.
9
8
/// </summary>
10
-
[Obsolete("IStartupTask is deprecated. Use BackgroundService or IHostedService instead. See https://learn.microsoft.com/dotnet/orleans/host/configuration-guide/startup-tasks for more information.",error:false)]
0 commit comments