File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Extensions/Xtensive.Orm.Web Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1- // Copyright (C) 2019-2020 Xtensive LLC.
1+ // Copyright (C) 2019-2021 Xtensive LLC.
22// This code is distributed under MIT license terms.
33// See the License.txt file in the project root for more information.
44
@@ -11,14 +11,14 @@ namespace Xtensive.Orm.Web
1111 /// <summary>
1212 /// Contains helper methods to apply <see cref="SessionManager"/> middleware to ASP.NET Core pipeline.
1313 /// </summary>
14+ [ Obsolete ]
1415 public static class ApplicationBuilderExtensions
1516 {
1617 /// <summary>
1718 /// Adds <see cref="SessionManager"/> to ASP.NET Core middleware pipeline.
1819 /// </summary>
1920 /// <param name="builder"><see cref="IApplicationBuilder"/> instance.</param>
2021 /// <returns><paramref name="builder"/> with <see cref="SessionManager"/>.</returns>
21- [ Obsolete ]
2222 public static IApplicationBuilder UseSessionManager ( this IApplicationBuilder builder )
2323 {
2424 return builder . UseMiddleware < SessionManager > ( ) ;
@@ -30,7 +30,6 @@ public static IApplicationBuilder UseSessionManager(this IApplicationBuilder bui
3030 /// <param name="builder"><see cref="IApplicationBuilder"/> instance.</param>
3131 /// <param name="sessionProvider">User-defined session provider which will be used instead of built-in provider.</param>
3232 /// <returns><paramref name="builder"/> with <see cref="SessionManager"/>.</returns>
33- [ Obsolete ]
3433 public static IApplicationBuilder UseSessionManager ( this IApplicationBuilder builder , Func < Pair < Session , System . IDisposable > > sessionProvider )
3534 {
3635 SessionManager . SessionProvider = sessionProvider ;
You can’t perform that action at this time.
0 commit comments