Class ProfileEntry<T>
public class ProfileEntry<T> : ProfileEntry
Type Parameters
T
- Inheritance
-
ProfileEntry<T>
- Inherited Members
Constructors
ProfileEntry(string, string, bool, Func<T, bool>?, string?, Func<string>?)
public ProfileEntry(string key, string displayName, bool isRequired = false, Func<T, bool>? validator = null, string? errorMessage = null, Func<string>? errorMessageProvider = null)
Parameters
keystringdisplayNamestringisRequiredboolvalidatorFunc<T, bool>errorMessagestringerrorMessageProviderFunc<string>
Properties
ErrorMessage
public override string ErrorMessage { get; }
Property Value
IsValid
public override bool IsValid { get; }
Property Value
Value
public T Value { get; set; }
Property Value
- T
ValueType
public override Type ValueType { get; }