Class ValidateData
- Namespace
- SunamoInterfaces._public.SunamoArgs
- Assembly
- SunamoInterfaces.dll
Configuration for data validation operations.
public class ValidateData
- Inheritance
-
ValidateData
- Inherited Members
- Extension Methods
Fields
Default
Gets the default validation configuration.
public static readonly ValidateData Default
Field Value
Properties
ExcludedStrings
Gets or sets the list of strings to exclude from validation.
public List<string> ExcludedStrings { get; set; }
Property Value
IsAllowingEmpty
Gets or sets a value indicating whether empty values are allowed.
public bool IsAllowingEmpty { get; set; }
Property Value
IsTrimming
Gets or sets a value indicating whether to trim whitespace before validation.
public bool IsTrimming { get; set; }
Property Value
MessageToReallyShow
Gets or sets the message to actually show to the user.
public string? MessageToReallyShow { get; set; }
Property Value
MessageWhenValidateMethodFails
Gets or sets the message to show when validation method fails.
public string? MessageWhenValidateMethodFails { get; set; }
Property Value
ValidateMethod
Gets or sets the custom validation method function.
public Func<string, bool>? ValidateMethod { get; set; }