TaskExtensions¶
TaskExtensions is a static extension-method class that maps task priority and source codes to display-friendly values, centralizing the priority (URG/INFO/MED/LOW/HIGH) and source (CLAIM/COLL/COVB/IMAGE/WCIS/RTW) code sets used across task lists.
Purpose¶
- Maps task priority codes URG, INFO, MED, LOW and HIGH to display values, enforcing CORE-BR-040.
- Maps task source codes CLAIM, COLL, COVB, IMAGE, WCIS and RTW to display values, enforcing CORE-BR-040.
Context¶
- Namespace:
SAIF.Core.Contracts.Tasks - Kind: Class
- Assembly/package:
SAIF.Core(NuGet packageSAIF.SAIFCode.Core)
Public members¶
| Member | Signature | Purpose |
|---|---|---|
GetPriorityCode |
string GetPriorityCode(this TaskPriorities priority) |
Returns priority code, given priority*. |
GetSourceCode |
string GetSourceCode(this TaskSources source) |
Returns source code, given source*. |
Note: Statements marked with
*were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with**could not be confirmed; treat as unknown until verified.
Sources¶
- Core/SAIF.Core/Contracts/Tasks/Extensions/TaskExtensions.cs