Table of Contents

Interface IUserProfile

Namespace
Core.CliniCore.Domain.Users
Assembly
Core.CliniCore.dll
public interface IUserProfile

Properties

CreatedAt

DateTime CreatedAt { get; }

Property Value

DateTime

Entries

List<ProfileEntry> Entries { get; }

Property Value

List<ProfileEntry>

Id

Guid Id { get; }

Property Value

Guid

IsValid

bool IsValid { get; }

Property Value

bool

Role

UserRole Role { get; }

Property Value

UserRole

Username

string Username { get; set; }

Property Value

string

Methods

GetEntry(string)

ProfileEntry? GetEntry(string key)

Parameters

key string

Returns

ProfileEntry

GetValidationErrors()

List<string> GetValidationErrors()

Returns

List<string>

GetValue<T>(string)

T? GetValue<T>(string key)

Parameters

key string

Returns

T

Type Parameters

T

SetValue<T>(string, T)

bool SetValue<T>(string key, T value)

Parameters

key string
value T

Returns

bool

Type Parameters

T