SearchResult
Namespace: JoaLauncher.Api
Represents a search result which will be displayed to the user
public abstract class SearchResult
Methods
public abstract void Execute(IExecutionContext executionContext)
The method which gets called if the user executes the search result
Parameters
Name | Description |
---|---|
JoaLauncher.Api.IExecutionContext executionContext |
Properties
public required string Title { get; init; }
The title is a big text displayed on the search result
Type: System.String
public required string Description { get; init; }
The description is a smaller text below the title
Type: System.String
public required string Icon { get; init; }
The Icon displayed next to the title and description Should contain the path to the icon. URLs are not supported
Type: System.String
public List<ContextAction>? Actions { get; set; }
A list of <xref href="JoaLauncher.Api.ContextAction" data-throw-if-not-resolved="false"></xref> which represent the possible actions the user could execute on this search result
Type: System.Collections.Generic.List<JoaLauncher.Api.ContextAction>