Table of Contents

Class SearchContext

Namespace
Playnite
Assembly
Playnite.SDK.dll
public abstract class SearchContext : IAsyncDisposable
Inheritance
SearchContext
Implements
Inherited Members

Properties

CacheItems

public bool CacheItems { get; set; }

Property Value

bool

Delay

public int Delay { get; set; }

Property Value

int

Description

public string? Description { get; set; }

Property Value

string

Hint

public string? Hint { get; set; }

Property Value

string

Label

public string? Label { get; set; }

Property Value

string

UseAutoSearch

public bool UseAutoSearch { get; set; }

Property Value

bool

Methods

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

public virtual ValueTask DisposeAsync()

Returns

ValueTask

A task that represents the asynchronous dispose operation.

GetSearchResultsAsync(GetSearchResultsArgs)

public abstract Task<ICollection<SearchItem>> GetSearchResultsAsync(SearchContext.GetSearchResultsArgs args)

Parameters

args SearchContext.GetSearchResultsArgs

Returns

Task<ICollection<SearchItem>>