clsStandardPolicyHeaderHelpTextCollection¶
clsStandardPolicyHeaderHelpTextCollection is the standard header help-text implementation for this library. It loads the POLHD help-text application once, then exposes per-field text and per-association description text for the current provider.
Purpose¶
- Provide the policy-header labels and contextual help text used by header consumers.
- Translate distinct header association types into
POLHD_<code>Descrhelp-text keys.
Context¶
- Namespace:
SAIF.Application.Policy.PolicyHeader - Assembly/package:
SAIF.Application.Policy
Public members¶
| Member | Signature | Purpose |
|---|---|---|
New |
Sub New(ByVal inDPI As IDataPortalInfo, ByVal inDataProvider As IPolicyHeaderDataProvider) |
Creates the help-text collection for one portal and provider. |
Agency |
Overrides ReadOnly Property Agency As String |
Looks up the cached POLHD_Agency label from the shared POLHD help-text application for the agency field. |
AssociationType |
Overrides ReadOnly Property AssociationType As String |
Looks up the cached POLHD_AssociationType label for the association-type selector. |
AssociationTypeListText |
Overrides ReadOnly Property AssociationTypeListText As IEnumerable(Of String) |
Resolves the POLHD_<code>Descr help entry for each distinct association type on the current provider, omitting any that are blank. |
LegalName |
Overrides ReadOnly Property LegalName As String |
Looks up the cached POLHD_LegalName label for the legal-name field. |
MarketType |
Overrides ReadOnly Property MarketType As String |
Looks up the cached POLHD_MarketType label for the market-type field. |
PolicyDropdown |
Overrides ReadOnly Property PolicyDropdown As String |
Looks up the cached POLHD_PolicyDropdown label for the policy drop-down control. |
PolicyLabel |
Overrides ReadOnly Property PolicyLabel As String |
Looks up the cached POLHD_PolicyLabel label for the policy label. |
RateAccount |
Overrides ReadOnly Property RateAccount As String |
Looks up the cached POLHD_RateAccount label for the rate-account field. |
RelationType |
Overrides ReadOnly Property RelationType As String |
Looks up the cached POLHD_RelationType label for the relationship field. |
Status |
Overrides ReadOnly Property Status As String |
Looks up the cached POLHD_Status label for the status field. |
Behavioral notes¶
- The underlying
clsHelpTextCollectionis cached in aSharedfield. - Blank association-specific help entries are filtered out of the returned list.
Constraints and usage notes¶
- This type relies on the
IPolicyHeaderDataProviderto supply the distinct association types currently relevant to the header.
Sources¶
Application\SAIF.Application.Policy\PolicyHeader\clsStandardPolicyHeaderSettings.vb