IPluginBuilder
Namespace: JoaLauncher.Api
Used to configure the plugin
public interface IPluginBuilder
Methods
IPluginBuilder AddGlobalProvider<T>() where T : IProvider
IPluginBuilder AddGlobalProvider<T>(Func<string, bool> condition) where T : IProvider
Adds a global provider of type T The provider is only beeing used if the condition is true The search results are not getting sortet
Parameters
Name | Description |
---|---|
System.Func<System.String,System.Boolean> condition |
Returns
Type | Description |
---|---|
JoaLauncher.Api.IPluginBuilder |
IPluginBuilder AddGlobalResult(SearchResult searchResult)
Adds a global search result
Parameters
Name | Description |
---|---|
JoaLauncher.Api.SearchResult searchResult |
Returns
Type | Description |
---|---|
JoaLauncher.Api.IPluginBuilder |