Constructor SettingsPolicyClassAttribute
- Namespace
- MailFathom.Infrastructure.Policies
- Assembly
- MailFathom.Infrastructure.dll
SettingsPolicyClassAttribute(SettingsPolicyPropertyClass)
Marks a property of a governed record as belonging to a class other than the ordinary one.
public SettingsPolicyClassAttribute(SettingsPolicyPropertyClass propertyClass)
Parameters
propertyClassSettingsPolicyPropertyClassThe class the property, and everything beneath it where it is a block, belongs to.
Remarks
Stated on the property where the record's own type declares it, so the set of governable properties follows the type and no list is kept beside it: a property nobody marked is an ordinary one, which is the right answer for nearly every setting a later release adds. A secret block needs no mark, because it is recognized by the type it binds as. Declared in this assembly rather than beside the policy's administration because a governed record's settings are declared in two — the host's own options and the bindable shapes here — and a mark has to be reachable from both.