Skip to content

Commit 90a9727

Browse files
committed
Update summaries in SessionAccessor
1 parent eba424e commit 90a9727

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Extensions/Xtensive.Orm.Web/SessionAccessor.cs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
namespace Xtensive.Orm.Web
1010
{
1111
/// <summary>
12-
/// A wrapper that provides access <see cref="Xtensive.Orm.Session">Session</see>
13-
/// and <see cref="Xtensive.Orm.TransactionScope">TransactionScope</see>.
12+
/// A wrapper that provides access <see cref="Xtensive.Orm.Session"></see>
13+
/// and <see cref="Xtensive.Orm.TransactionScope"> that are in <see cref="HttpContext"/>.</see>.
1414
/// </summary>
1515
public sealed class SessionAccessor
1616
{
@@ -20,15 +20,17 @@ public sealed class SessionAccessor
2020
private HttpContext context;
2121

2222
/// <summary>
23-
/// Provides session from bound to <see cref="HttpContext"/>.
23+
/// Provides <see cref="Orm.Session"/> from bound to <see cref="HttpContext"/>.
24+
/// If no <see cref="Orm.Session"/> instance found, return <see langword="null"/>.
2425
/// </summary>
2526
public Session Session =>
2627
context != null && context.Items.TryGetValue(SessionIdentifier, out var instance)
2728
? (Session) instance
2829
: null;
2930

3031
/// <summary>
31-
/// Provides opened transaction scope bound to <see cref="HttpContext"/>.
32+
/// Provides opened <see cref="Orm.TransactionScope"/> bound to <see cref="HttpContext"/>.
33+
/// If no <see cref="Orm.Session"/> instance found, return <see langword="null"/>.
3234
/// </summary>
3335
public TransactionScope TransactionScope =>
3436
context != null && context.Items.TryGetValue(TransactionScope, out var instance)
@@ -45,4 +47,4 @@ internal IDisposable BindHttpContext(HttpContext context)
4547

4648
private void NullTheContext(bool disposing) => context = null;
4749
}
48-
}
50+
}

0 commit comments

Comments
 (0)