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; }
Public Property AllowedValuesGenerator As Func(Of ICollection(Of Object))
Get
Set
public:
property Func<ICollection<Object^>^>^ AllowedValuesGenerator {
Func<ICollection<Object^>^>^ get ();
void set (Func<ICollection<Object^>^>^ value);
}
member AllowedValuesGenerator : Func<ICollection<Object>> with get, set
Property Value
Type:
FuncICollectionObjectRemarks
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 |
---|
Any existing value for the setting is automatically considered to be allowed, even if it is not returned by the function. |
See Also