Table of Contents

Class PluginEnrollmentCheckService

Namespace
SEBT.Portal.Infrastructure.StateConnector
Assembly
SEBT.Portal.Infrastructure.dll

Adapter that fulfills the Core IStateEnrollmentCheckService port by delegating to the loaded state plugin's enrollment check service. Maps Core models to plugin contract models (and back) at the boundary.

public class PluginEnrollmentCheckService : IStateEnrollmentCheckService
Inheritance
object
PluginEnrollmentCheckService
Implements

Constructors

PluginEnrollmentCheckService(IEnrollmentCheckService)

Adapter that fulfills the Core IStateEnrollmentCheckService port by delegating to the loaded state plugin's enrollment check service. Maps Core models to plugin contract models (and back) at the boundary.

public PluginEnrollmentCheckService(IEnrollmentCheckService pluginEnrollmentCheckService)

Parameters

pluginEnrollmentCheckService IEnrollmentCheckService

Methods

CheckEnrollmentAsync(EnrollmentCheckRequest, CancellationToken)

Checks enrollment status for one or more children.

public Task<EnrollmentCheckResult> CheckEnrollmentAsync(EnrollmentCheckRequest request, CancellationToken cancellationToken = default)

Parameters

request EnrollmentCheckRequest

The enrollment check request containing children to check.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<EnrollmentCheckResult>

Results for each child checked.