Table of Contents

Class ProfileEntry<T>

Namespace
Core.CliniCore.Domain.Users
Assembly
Core.CliniCore.dll
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

key string
displayName string
isRequired bool
validator Func<T, bool>
errorMessage string
errorMessageProvider Func<string>

Properties

ErrorMessage

public override string ErrorMessage { get; }

Property Value

string

IsValid

public override bool IsValid { get; }

Property Value

bool

Value

public T Value { get; set; }

Property Value

T

ValueType

public override Type ValueType { get; }

Property Value

Type