Class AppPrefs
Application preferences (settings/saved variables).
Implements
Inherited Members
Namespace: EduCATS.Helpers.Forms.Settings
Assembly: EduCATS.dll
Syntax
public class AppPrefs : IPreferences
Properties
AccessToken
AccessToken.
Declaration
public string AccessToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Avatar
Avatar.
Declaration
public string Avatar { get; set; }
Property Value
Type | Description |
---|---|
string |
ChosenGroupId
Chosen group ID.
Declaration
public int ChosenGroupId { get; set; }
Property Value
Type | Description |
---|---|
int |
ChosenSubjectId
Chosen subject ID.
Declaration
public int ChosenSubjectId { get; set; }
Property Value
Type | Description |
---|---|
int |
Font
Font.
Declaration
public string Font { get; set; }
Property Value
Type | Description |
---|---|
string |
GroupId
Group ID.
Declaration
public int GroupId { get; set; }
Property Value
Type | Description |
---|---|
int |
GroupName
Group name.
Declaration
public string GroupName { get; set; }
Property Value
Type | Description |
---|---|
string |
IsLargeFont
Is large font.
Declaration
public bool IsLargeFont { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsLoggedIn
Is authorized.
Declaration
public bool IsLoggedIn { get; set; }
Property Value
Type | Description |
---|---|
bool |
LanguageCode
Language code.
Declaration
public string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
Server
Current server.
Declaration
public string Server { get; set; }
Property Value
Type | Description |
---|---|
string |
Theme
Theme.
Declaration
public string Theme { get; set; }
Property Value
Type | Description |
---|---|
string |
UserId
User ID.
Declaration
public int UserId { get; set; }
Property Value
Type | Description |
---|---|
int |
UserLogin
Username.
Declaration
public string UserLogin { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
ResetPrefs()
Delete all preferences except Font and Theme.
Declaration
public void ResetPrefs()