AppSettingSanitizer Property |
Gets the delegate used to sanitize the value of 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 Converter<Object, Object?>? Sanitizer { get; }
Public ReadOnly Property Sanitizer As Converter(Of Object, Object)
Get
public:
property Converter<Object^, Object^>^ Sanitizer {
Converter<Object^, Object^>^ get ();
}
member Sanitizer : Converter<Object, Object> with get
Property Value
Type:
ConverterObject,
Object
The sanitizer delegate, or
if there is no sanitizer.
Remarks
A sanitizer can be used to ensure that a value is valid, even if the user didn't actually provide
a valid value.
Example: ensure that the URI for a setting always ends in a trailing slash. The sanitizer
for this case could look at the incoming URI, check for a trailing slash, and add it if not there.
The sanitizer is run whenever the setting's value is set or loaded.
See Also