Table of Contents

Class ResourceProvider

Namespace
Playnite.SDK
Assembly
Playnite.SDK.dll

Represents default resource provider.

public class ResourceProvider : IResourceProvider
Inheritance
ResourceProvider
Implements
Inherited Members

Constructors

ResourceProvider()

Creates new instance of ResourceProvider.

public ResourceProvider()

Methods

GetResource(string)

Gets application resource.

public static object GetResource(string key)

Parameters

key string

Resource key.

Returns

object

Application resource.

GetResource<T>(string)

public static T GetResource<T>(string key)

Parameters

key string

Returns

T

Type Parameters

T

GetString(string)

Gets string resource.

public static string GetString(string key)

Parameters

key string

String resource key.

Returns

string

String resource.