14.1 Beta 1 SDK
PluginConfigurationValues14.1 Beta
public sealed class Unbroken.LaunchBox.Plugins.Forms.PluginConfigurationValuesExplicit configuration values for a plugin instance, including optional named scopes.
Remarks
Editing these values does not persist them. An empty scope is the base scope; named scopes inherit missing values from it. Names and field identifiers are compared without regard to case.Constructors
PluginConfigurationValues 14.1 Beta
public PluginConfigurationValues()A summary has not been written for this member.
Properties
Scopes 14.1 Beta
public System.Collections.Generic.IEnumerable<string> Scopes { get; }Gets the stored scope names. An empty name denotes the base scope.
Methods
public Unbroken.LaunchBox.Plugins.Forms.PluginConfigurationValues Copy()public string GetValue(string key, string? scopeName = null, bool inherit = true)public System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, string>> GetValues(string? scopeName = null)public bool HasValue(string key, string? scopeName = null)public Unbroken.LaunchBox.Plugins.Forms.IPluginConfigurationValues Resolve(string? scopeName = null, Unbroken.LaunchBox.Plugins.Forms.PluginFormDefinition? defaults = null)public void SetValue(string key, string? value, string? scopeName = null)
Copy 14.1 Beta
public Unbroken.LaunchBox.Plugins.Forms.PluginConfigurationValues Copy()Creates an independent snapshot, including all scope overrides.
Returns
A copy that can be edited without changing this snapshot.GetValue 14.1 Beta
public string GetValue(string key, string? scopeName = null, bool inherit = true)GetValues 14.1 Beta
public System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, string>> GetValues(string? scopeName = null)Gets the explicit values in one scope, without inherited values.
scopeName14.1 Beta- The scope name, or null for the base scope.
Returns
The scope's field identifiers and values.HasValue 14.1 Beta
public bool HasValue(string key, string? scopeName = null)Resolve 14.1 Beta
public Unbroken.LaunchBox.Plugins.Forms.IPluginConfigurationValues Resolve(string? scopeName = null, Unbroken.LaunchBox.Plugins.Forms.PluginFormDefinition? defaults = null)SetValue 14.1 Beta
public void SetValue(string key, string? value, string? scopeName = null)