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
-
objectPluginEnrollmentCheckService
- 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
pluginEnrollmentCheckServiceIEnrollmentCheckService
Methods
CheckEnrollmentAsync(EnrollmentCheckRequest, CancellationToken)
Checks enrollment status for one or more children.
public Task<EnrollmentCheckResult> CheckEnrollmentAsync(EnrollmentCheckRequest request, CancellationToken cancellationToken = default)
Parameters
requestEnrollmentCheckRequestThe enrollment check request containing children to check.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task<EnrollmentCheckResult>
Results for each child checked.