C# Class SecureDelete.WipePlugin.PluginSettings

Provides a centralized storage for all plugin settings.
Afficher le fichier Open project: gratianlup/SecureDelete

Méthodes publiques

Méthode Description
CreateStoreId ( Plugin plugin ) : StoreId
LoadPluginSettings ( Plugin plugin ) : bool

Load the settings

LoadSettings ( ) : bool

Load the settings from the settings file

PluginSettings ( ) : System
RemoveAllSettings ( ) : void

Remove all stored settings

RemovePluginSettings ( Plugin plugin ) : bool

Remove the settings

SavePluginSettings ( Plugin plugin ) : void

Save the settings

SaveSettings ( ) : bool

Save the setting to the settings file

Private Methods

Méthode Description
AutoSaveAsync ( ) : void
PerformAutoSave ( ) : void

Method Details

CreateStoreId() public static méthode

public static CreateStoreId ( Plugin plugin ) : StoreId
plugin Plugin
Résultat StoreId

LoadPluginSettings() public méthode

Load the settings
public LoadPluginSettings ( Plugin plugin ) : bool
plugin Plugin The plugin for which to load the settings.
Résultat bool

LoadSettings() public méthode

Load the settings from the settings file
public LoadSettings ( ) : bool
Résultat bool

PluginSettings() public méthode

public PluginSettings ( ) : System
Résultat System

RemoveAllSettings() public méthode

Remove all stored settings
public RemoveAllSettings ( ) : void
Résultat void

RemovePluginSettings() public méthode

Remove the settings
public RemovePluginSettings ( Plugin plugin ) : bool
plugin Plugin The plugin for which to remove the settings.
Résultat bool

SavePluginSettings() public méthode

Save the settings
public SavePluginSettings ( Plugin plugin ) : void
plugin Plugin The plugin for which to save the settings.
Résultat void

SaveSettings() public méthode

Save the setting to the settings file
public SaveSettings ( ) : bool
Résultat bool