AppSettingPropertiesAllowedValuesGenerator Property

Gets or sets a function which provides the allowed values for the setting.

Namespace:  Dundas.BI.Configuration
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public Func<ICollection<Object>>? AllowedValuesGenerator { get; set; }

Property Value

Type: FuncICollectionObject
Remarks
If a delegate function is supplied for this property, the application will verify that any user-set value is one of the allowed values returned by that function. Furthermore, a similar function should be specified for AvailableValuesGenerator, so that user-friendly display names will appear in the configuration UI.
Note Note
Any existing value for the setting is automatically considered to be allowed, even if it is not returned by the function.
See Also