mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-15 01:54:43 +00:00
Update XML doc comment in backend projects
This commit is contained in:
@@ -12,6 +12,7 @@ namespace Infrastructure.Email.Templates.Rendering;
|
||||
public class EmailTemplateProvider(IServiceProvider serviceProvider, ILoggerFactory loggerFactory)
|
||||
: IEmailTemplateProvider
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public async Task<string> RenderUserRegisteredEmailAsync(
|
||||
string username,
|
||||
string confirmationLink
|
||||
@@ -26,6 +27,7 @@ public class EmailTemplateProvider(IServiceProvider serviceProvider, ILoggerFact
|
||||
return await RenderComponentAsync<UserRegistration>(parameters);
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public async Task<string> RenderResendConfirmationEmailAsync(
|
||||
string username,
|
||||
string confirmationLink
|
||||
|
||||
@@ -5,13 +5,15 @@ namespace Infrastructure.Email.Templates.Rendering;
|
||||
/// </summary>
|
||||
public interface IEmailTemplateProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// Renders the UserRegisteredEmail template.
|
||||
/// </summary>
|
||||
/// <summary>Renders the registration confirmation email template.</summary>
|
||||
/// <param name="username">The recipient's username, shown in the greeting.</param>
|
||||
/// <param name="confirmationLink">The URL the recipient follows to confirm their account.</param>
|
||||
/// <returns>A task whose result is the rendered HTML for the email body.</returns>
|
||||
Task<string> RenderUserRegisteredEmailAsync(string username, string confirmationLink);
|
||||
|
||||
/// <summary>
|
||||
/// Renders the ResendConfirmation template.
|
||||
/// </summary>
|
||||
/// <summary>Renders the resend-confirmation email template.</summary>
|
||||
/// <param name="username">The recipient's username, shown in the greeting.</param>
|
||||
/// <param name="confirmationLink">The URL the recipient follows to confirm their account.</param>
|
||||
/// <returns>A task whose result is the rendered HTML for the email body.</returns>
|
||||
Task<string> RenderResendConfirmationEmailAsync(string username, string confirmationLink);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user