Class SettingPageViewModel
Inheritance
ReactiveObject
SettingPageViewModel
Implements
IReactiveNotifyPropertyChanged<IReactiveObject>
IHandleObservableErrors
IReactiveObject
IEnableLogger
Inherited Members
ReactiveObject.SuppressChangeNotifications()
ReactiveObject.AreChangeNotificationsEnabled()
ReactiveObject.DelayChangeNotifications()
ReactiveObject.Changing
ReactiveObject.Changed
ReactiveObject.ThrownExceptions
ReactiveObject.PropertyChanging
ReactiveObject.PropertyChanged
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
|
Edit this page
View Source
ChooseLogsFormat
Declaration
public string ChooseLogsFormat { get; set; }
Property Value
|
Edit this page
View Source
EncryptedFileExtensions
Declaration
public ObservableCollection<string> EncryptedFileExtensions { get; }
Property Value
|
Edit this page
View Source
English
Declaration
public string English { get; set; }
Property Value
|
Edit this page
View Source
FileExtensionsToEncrypt
Declaration
public string FileExtensionsToEncrypt { get; set; }
Property Value
|
Edit this page
View Source
French
Declaration
public string French { get; set; }
Property Value
|
Edit this page
View Source
Json
Declaration
public string Json { get; set; }
Property Value
|
Edit this page
View Source
MaxLargeFileSize
Declaration
public int MaxLargeFileSize { get; set; }
Property Value
|
Edit this page
View Source
MaxLargeFileSizeText
Declaration
public string MaxLargeFileSizeText { get; set; }
Property Value
|
Edit this page
View Source
Message
Declaration
public string Message { get; set; }
Property Value
|
Edit this page
View Source
MonitoredBusinessSoftware
Declaration
public string MonitoredBusinessSoftware { get; set; }
Property Value
|
Edit this page
View Source
PriorityBusinessProcess
Declaration
public ObservableCollection<string> PriorityBusinessProcess { get; }
Property Value
|
Edit this page
View Source
PriorityExtendions
Declaration
public string PriorityExtendions { get; set; }
Property Value
|
Edit this page
View Source
PriorityExtensionFiles
Declaration
public ObservableCollection<PriorityExtensionDTO> PriorityExtensionFiles { get; set; }
Property Value
|
Edit this page
View Source
PriorityFileManagement
Declaration
public string PriorityFileManagement { get; set; }
Property Value
|
Edit this page
View Source
SelectLanguage
Declaration
public string SelectLanguage { get; set; }
Property Value
|
Edit this page
View Source
Status
Declaration
public string Status { get; set; }
Property Value
|
Edit this page
View Source
Xml
Declaration
public string Xml { get; set; }
Property Value
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
|
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
Returns
|
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
|
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
Implements
ReactiveUI.IReactiveNotifyPropertyChanged<TSender>
ReactiveUI.IHandleObservableErrors
ReactiveUI.IReactiveObject
Splat.IEnableLogger