LaunchBoxContributors
On this page

ProviderItemContext14.1

Class in Unbroken.LaunchBox.Plugins.Models.Items

C#
public class ProviderItemContext
Identifies an item within the selected integration and carries its optional opaque provider data.

Remarks

An item can be a game or an additional application. The ID is provider-local, or a host item ID when the integration uses host identities. It does not identify a provider or create a persisted source association.

Constructors

ProviderItemContext

C#
public ProviderItemContext(string itemId, ProviderItemData? providerData = null)
Initializes the item identity and provider data.
itemId
The nonblank provider-local item ID or host item ID understood by the selected integration.
providerData
Optional versioned provider data associated with the item.

Properties

  • ItemIdGets the provider-local item ID or host item ID understood by the selected integration.
  • ProviderDataGets the optional versioned provider data associated with the item.

ItemId

C#
public string ItemId { get; }
Gets the provider-local item ID or host item ID understood by the selected integration.

ProviderData

C#
public ProviderItemData? ProviderData { get; }
Gets the optional versioned provider data associated with the item.