Interface IHasPluginConfiguration
Namespace: MediaBrowser.Common.Plugins
Assembly: MediaBrowser.Common.dll
Syntax
public interface IHasPluginConfiguration
Properties
Configuration
Gets the plugin's configuration
Declaration
BasePluginConfiguration Configuration { get; }
Property Value
Type | Description |
---|---|
BasePluginConfiguration | The configuration. |
ConfigurationType
Gets the type of configuration this plugin uses
Declaration
Type ConfigurationType { get; }
Property Value
Type | Description |
---|---|
System.Type | The type of the configuration. |
Methods
SetStartupInfo(Action<String>)
Declaration
void SetStartupInfo(Action<string> directoryCreateFn)
Parameters
Type | Name | Description |
---|---|---|
System.Action<System.String> | directoryCreateFn |
UpdateConfiguration(BasePluginConfiguration)
Completely overwrites the current configuration with a new copy Returns true or false indicating success or failure
Declaration
void UpdateConfiguration(BasePluginConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
BasePluginConfiguration | configuration | The configuration. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | configuration |