Skip to content

Commit 00eb0b4

Browse files
committed
Add missing comments.
1 parent 72139a5 commit 00eb0b4

File tree

4 files changed

+101
-1
lines changed

4 files changed

+101
-1
lines changed

src/FluentAssertions.AspNetCore.Mvc/ActionResultAssertions.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ public ActionResultAssertions(IActionResult subject) : base(subject)
2424
#endregion Public Constructors
2525

2626
#region Protected Properties
27-
27+
/// <summary>
28+
/// <inheritdoc />
29+
/// </summary>
2830
protected override string Identifier => "ActionResult";
2931

3032
#endregion Protected Properties

src/FluentAssertions.AspNetCore.Mvc/ForbidResultAssertions.cs

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,45 @@ public ForbidResultAssertions(ForbidResult subject) : base(subject)
2828
#endregion
2929

3030
#region Public Properties
31+
32+
/// <summary>
33+
/// The authentication properties on the ForbidResult.
34+
/// </summary>
3135
public AuthenticationProperties AuthenticationProperties => ForbidResultSubject.Properties;
36+
37+
/// <summary>
38+
/// The items value in the authentication properties on the ForbidResult.
39+
/// </summary>
3240
public IDictionary<string, string> Items => ForbidResultSubject.Properties?.Items;
41+
42+
/// <summary>
43+
/// The is persistent value in the authentication properties on the ForbidResult.
44+
/// </summary>
3345
public bool IsPersistent => ForbidResultSubject.Properties?.IsPersistent ?? false;
46+
47+
/// <summary>
48+
/// The redirect uri value in the authentication properties on the ForbidResult.
49+
/// </summary>
3450
public string RedirectUri => ForbidResultSubject.Properties?.RedirectUri;
51+
52+
/// <summary>
53+
/// The issued utc value in the authentication properties on the ForbidResult.
54+
/// </summary>
3555
public DateTimeOffset? IssuedUtc => ForbidResultSubject.Properties?.IssuedUtc;
56+
57+
/// <summary>
58+
/// The expires utc value in the authentication properties on the ForbidResult.
59+
/// </summary>
3660
public DateTimeOffset? ExpiresUtc => ForbidResultSubject.Properties?.ExpiresUtc;
61+
62+
/// <summary>
63+
/// The allow refresh value in the authentication properties on the ForbidResult.
64+
/// </summary>
3765
public bool? AllowRefresh => ForbidResultSubject.Properties?.AllowRefresh;
66+
67+
/// <summary>
68+
/// The authentication schemes value on the ForbidResult.
69+
/// </summary>
3870
public IList<string> AuthenticationSchemes => ForbidResultSubject.AuthenticationSchemes;
3971
#endregion
4072

src/FluentAssertions.AspNetCore.Mvc/SignInResultAssertions.cs

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,49 @@ public SignInResultAssertions(object subject) : base(subject)
2828
#endregion
2929

3030
#region Public Properties
31+
/// <summary>
32+
/// The authentication properties on the SignInResult.
33+
/// </summary>
3134
public AuthenticationProperties AuthenticationProperties => SignInResultSubject.Properties;
35+
36+
/// <summary>
37+
/// The items value in the authentication properties on the SignInResult.
38+
/// </summary>
3239
public IDictionary<string, string> Items => SignInResultSubject.Properties?.Items;
40+
41+
/// <summary>
42+
/// The is persistent value in the authentication properties on the SignInResult.
43+
/// </summary>
3344
public bool IsPersistent => SignInResultSubject.Properties?.IsPersistent ?? false;
45+
46+
/// <summary>
47+
/// The redirect uri value in the authentication properties on the SignInResult.
48+
/// </summary>
3449
public string RedirectUri => SignInResultSubject.Properties?.RedirectUri;
50+
51+
/// <summary>
52+
/// The issued utc value in the authentication properties on the SignInResult.
53+
/// </summary>
3554
public DateTimeOffset? IssuedUtc => SignInResultSubject.Properties?.IssuedUtc;
55+
56+
/// <summary>
57+
/// The expires utc value in the authentication properties on the SignInResult.
58+
/// </summary>
3659
public DateTimeOffset? ExpiresUtc => SignInResultSubject.Properties?.ExpiresUtc;
60+
61+
/// <summary>
62+
/// The allow refresh value in the authentication properties on the SignInResult.
63+
/// </summary>
3764
public bool? AllowRefresh => SignInResultSubject.Properties?.AllowRefresh;
65+
66+
/// <summary>
67+
/// The authentication scheme value on the SignInResult.
68+
/// </summary>
3869
public string AuthenticationScheme => SignInResultSubject.AuthenticationScheme;
70+
71+
/// <summary>
72+
/// The claims principal value on the SignInResult.
73+
/// </summary>
3974
public ClaimsPrincipal Principal => SignInResultSubject.Principal;
4075

4176
#endregion

src/FluentAssertions.AspNetCore.Mvc/SignOutResultAssertions.cs

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,44 @@ public SignOutResultAssertions(object subject) : base(subject)
2828
#endregion
2929

3030
#region Public Properties
31+
/// <summary>
32+
/// The authentication properties on the SignOutResult.
33+
/// </summary>
3134
public AuthenticationProperties AuthenticationProperties => SignOutResultSubject.Properties;
35+
36+
/// <summary>
37+
/// The items value in the authentication properties on the SignOutResult.
38+
/// </summary>
3239
public IDictionary<string, string> Items => SignOutResultSubject.Properties?.Items;
40+
41+
/// <summary>
42+
/// The is persistent value in the authentication properties on the SignOutResult.
43+
/// </summary>
3344
public bool IsPersistent => SignOutResultSubject.Properties?.IsPersistent ?? false;
45+
46+
/// <summary>
47+
/// The redirect uri value in the authentication properties on the SignOutResult.
48+
/// </summary>
3449
public string RedirectUri => SignOutResultSubject.Properties?.RedirectUri;
50+
51+
/// <summary>
52+
/// The issued utc value in the authentication properties on the SignOutResult.
53+
/// </summary>
3554
public DateTimeOffset? IssuedUtc => SignOutResultSubject.Properties?.IssuedUtc;
55+
56+
/// <summary>
57+
/// The expires utc value in the authentication properties on the SignOutResult.
58+
/// </summary>
3659
public DateTimeOffset? ExpiresUtc => SignOutResultSubject.Properties?.ExpiresUtc;
60+
61+
/// <summary>
62+
/// The allow refresh value in the authentication properties on the SignOutResult.
63+
/// </summary>
3764
public bool? AllowRefresh => SignOutResultSubject.Properties?.AllowRefresh;
65+
66+
/// <summary>
67+
/// The authentication schemes value on the SignOutResult.
68+
/// </summary>
3869
public IList<string> AuthenticationSchemes => SignOutResultSubject.AuthenticationSchemes;
3970
#endregion
4071

0 commit comments

Comments
 (0)