C# Class SecureDelete.WipePlugin.PluginSettings

Provides a centralized storage for all plugin settings.
Datei anzeigen Open project: gratianlup/SecureDelete

Public Methods

Method 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

Method Description
AutoSaveAsync ( ) : void
PerformAutoSave ( ) : void

Method Details

CreateStoreId() public static method

public static CreateStoreId ( Plugin plugin ) : StoreId
plugin Plugin
return StoreId

LoadPluginSettings() public method

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

LoadSettings() public method

Load the settings from the settings file
public LoadSettings ( ) : bool
return bool

PluginSettings() public method

public PluginSettings ( ) : System
return System

RemoveAllSettings() public method

Remove all stored settings
public RemoveAllSettings ( ) : void
return void

RemovePluginSettings() public method

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

SavePluginSettings() public method

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

SaveSettings() public method

Save the setting to the settings file
public SaveSettings ( ) : bool
return bool