Namespace XENBIT.ResQueServe.Core.Extensions
Classes
- CountryExtensions
Provides extension methods for the Country enumeration to retrieve metadata attributes such as calling format, ISO codes, and coordinates.
- DateOfBirthExtensions
Ages from dates of birth, in completed years: the same age for the patient of a simulated mission, its PZC and the patient of the operation.
- EntityTagExtensions
Entity tags for optimistic concurrency of editable models: a strong tag of the JSON representation the API returns. Properties marked with EntityTagIgnoreAttribute are left out, those marked with EntityTagReferenceAttribute count only by their
id. No version column is needed, and a tag changes exactly when an editable value changes.
- SettingContextExtensions
Reads the SettingContextAttribute of dispatch center settings.
- UnitDutyExtensions
Duty times of units with duty periods (OnlyOnPeriods). Shifts that follow each other without a break are one duty: a unit with 07–19 and 19–07 is on duty around the clock.