OpenBCM.Server.TrialDisbursement.Delinquency 0.1.0
OpenBCM.Server.TrialDisbursement.Delinquency
The delinquency update step of an OpenBCM trial disbursement run, as a
dependency-injection seam. The legacy engine shelled out to pDelq.exe here; no
source for that program survives, so this package ships the contract and a no-op
that warns rather than an implementation.
// Program.cs — the default until a real port exists.
builder.Services.AddSingleton<IDelinquencyUpdater, NoOpDelinquencyUpdater>();
Singleton, not scoped: the singleton TrialDisbursementJobService holds this seam, so a
scoped registration would be a captive dependency. A real implementation that needs
scoped state should inject IServiceScopeFactory and open a scope per call.
// In the engine, when the run-for-date is not today.
string? warning = _delinquency.Run(parameters);
if (warning != null) warnings.Add(warning);
Run returns null when the step ran, and warning text otherwise. parameters
is the command-line string the legacy executable would have been given, built by
the engine exactly as before.
To supply a real implementation, implement IDelinquencyUpdater and register it
in place of NoOpDelinquencyUpdater.
See the solution README for the call site, the parameter shapes and what skipping the step costs.
Showing the top 20 packages that depend on OpenBCM.Server.TrialDisbursement.Delinquency.
| Packages | Downloads |
|---|---|
|
OpenBCM.Server.TrialDisbursement
The trial disbursement calculation engine for OpenBCM: the port of the
Delphi TTWTrialDisburse (uTWTrialDisburse.pas), retargeted from a Windows
desktop application to a cross-platform server library.
|
14 |
Initial release. The seam only: the IDelinquencyUpdater contract and the no-op implementation that warns instead of running. No port of pDelq.exe exists yet.
.NET 10.0
- No dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 0.1.0 | 23 | 08/26/2026 |