Show / Hide Table of Contents

Class SettingPageViewModel

Inheritance
object
ReactiveObject
SettingPageViewModel
Implements
IReactiveNotifyPropertyChanged<IReactiveObject>
IHandleObservableErrors
IReactiveObject
INotifyPropertyChanged
INotifyPropertyChanging
IEnableLogger
Inherited Members
ReactiveObject.SuppressChangeNotifications()
ReactiveObject.AreChangeNotificationsEnabled()
ReactiveObject.DelayChangeNotifications()
ReactiveObject.Changing
ReactiveObject.Changed
ReactiveObject.ThrownExceptions
ReactiveObject.PropertyChanging
ReactiveObject.PropertyChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: EasySave_Project.ViewModels.Pages
Assembly: .dll
Syntax
public class SettingPageViewModel : ReactiveObject, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, INotifyPropertyChanged, INotifyPropertyChanging, IEnableLogger

Constructors

| Edit this page View Source

SettingPageViewModel(StackPanel)

Declaration
public SettingPageViewModel(StackPanel notificationContainer)
Parameters
Type Name Description
StackPanel notificationContainer

Properties

| Edit this page View Source

Add

Declaration
public string Add { get; set; }
Property Value
Type Description
string
| Edit this page View Source

ChooseLogsFormat

Declaration
public string ChooseLogsFormat { get; set; }
Property Value
Type Description
string
| Edit this page View Source

EncryptedFileExtensions

Declaration
public ObservableCollection<string> EncryptedFileExtensions { get; }
Property Value
Type Description
ObservableCollection<string>
| Edit this page View Source

English

Declaration
public string English { get; set; }
Property Value
Type Description
string
| Edit this page View Source

FileExtensionsToEncrypt

Declaration
public string FileExtensionsToEncrypt { get; set; }
Property Value
Type Description
string
| Edit this page View Source

French

Declaration
public string French { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Json

Declaration
public string Json { get; set; }
Property Value
Type Description
string
| Edit this page View Source

MaxLargeFileSize

Declaration
public int MaxLargeFileSize { get; set; }
Property Value
Type Description
int
| Edit this page View Source

MaxLargeFileSizeText

Declaration
public string MaxLargeFileSizeText { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Message

Declaration
public string Message { get; set; }
Property Value
Type Description
string
| Edit this page View Source

MonitoredBusinessSoftware

Declaration
public string MonitoredBusinessSoftware { get; set; }
Property Value
Type Description
string
| Edit this page View Source

PriorityBusinessProcess

Declaration
public ObservableCollection<string> PriorityBusinessProcess { get; }
Property Value
Type Description
ObservableCollection<string>
| Edit this page View Source

PriorityExtendions

Declaration
public string PriorityExtendions { get; set; }
Property Value
Type Description
string
| Edit this page View Source

PriorityExtensionFiles

Declaration
public ObservableCollection<PriorityExtensionDTO> PriorityExtensionFiles { get; set; }
Property Value
Type Description
ObservableCollection<PriorityExtensionDTO>
| Edit this page View Source

PriorityFileManagement

Declaration
public string PriorityFileManagement { get; set; }
Property Value
Type Description
string
| Edit this page View Source

SelectLanguage

Declaration
public string SelectLanguage { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Status

Declaration
public string Status { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Xml

Declaration
public string Xml { get; set; }
Property Value
Type Description
string

Methods

| Edit this page View Source

AddEncryptedFileExtensions(string)

Adds a new file extension to the encrypted file extensions list.

Declaration
public void AddEncryptedFileExtensions(string extension)
Parameters
Type Name Description
string extension

The file extension to be added.

| Edit this page View Source

AddPriorityBusinessProcess(string)

Adds a software process to the priority business process list.

Declaration
public void AddPriorityBusinessProcess(string software)
Parameters
Type Name Description
string software

The name of the software process.

| Edit this page View Source

AddPriorityFileExtensions(string)

Removes a software process from the priority business process list.

Declaration
public void AddPriorityFileExtensions(string extensionfile)
Parameters
Type Name Description
string extensionfile
| Edit this page View Source

ChangeLanguage(LanguageEnum)

Changes the application's language setting.

Declaration
public (string message, string status) ChangeLanguage(LanguageEnum lang)
Parameters
Type Name Description
LanguageEnum lang

The new language to be set.

Returns
Type Description
(string message, string status)

A tuple containing a message and status indicating success or failure.

| Edit this page View Source

ChangeLogsFormat(LogFormat)

Changes the log format used for storing logs.

Declaration
public (string message, string status) ChangeLogsFormat(LogFormatManager.LogFormat logsFormat)
Parameters
Type Name Description
LogFormatManager.LogFormat logsFormat

The new log format.

Returns
Type Description
(string message, string status)

A tuple containing a message and status indicating success or failure.

| Edit this page View Source

ChangeMaxLargeFileSize(int)

Updates the maximum large file size setting if the new value is different.

Declaration
public (string message, string status) ChangeMaxLargeFileSize(int value)
Parameters
Type Name Description
int value

The new maximum large file size in bytes.

Returns
Type Description
(string message, string status)

A tuple containing a message and status:

  • message: Success or error message.
  • status: "Success" if the update was successful, otherwise "Error".
| Edit this page View Source

MoveExtensionDown(int)

Moves the file extension down in the list if it is not already at the bottom.

Declaration
public void MoveExtensionDown(int index)
Parameters
Type Name Description
int index

The index of the item to move.

| Edit this page View Source

MoveExtensionUp(int)

Moves the file extension up in the list if it is not already at the top.

Declaration
public void MoveExtensionUp(int index)
Parameters
Type Name Description
int index

The index of the item to move.

| Edit this page View Source

Refresh()

Refreshes the translations for various UI elements related to settings.

Declaration
public void Refresh()
| Edit this page View Source

RemovPriorityBusinessProcess(string)

Declaration
public void RemovPriorityBusinessProcess(string software)
Parameters
Type Name Description
string software
| Edit this page View Source

RemoveEncryptedFileExtensions(string)

Removes a file extension from the encrypted file extensions list.

Declaration
public void RemoveEncryptedFileExtensions(string extension)
Parameters
Type Name Description
string extension

The file extension to be removed.

| Edit this page View Source

RemovePriorityFileExtensions(PriorityExtensionDTO)

Declaration
public void RemovePriorityFileExtensions(PriorityExtensionDTO priority)
Parameters
Type Name Description
PriorityExtensionDTO priority

Implements

ReactiveUI.IReactiveNotifyPropertyChanged<TSender>
ReactiveUI.IHandleObservableErrors
ReactiveUI.IReactiveObject
INotifyPropertyChanged
INotifyPropertyChanging
Splat.IEnableLogger
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX