LaunchBoxContributors
On this page

StorefrontSearchAliasDescriptor14.1

Class in Unbroken.LaunchBox.Plugins.Components.Storefronts

C#
public sealed class StorefrontSearchAliasDescriptor
Supplies an alternate storefront name and an optional localized resource for searches.

Constructors

StorefrontSearchAliasDescriptor

C#
public StorefrontSearchAliasDescriptor(string value, string? resourceKey = null)
Initializes an alternate storefront name.
value
The literal alias, also searched when a localized resource is available.
resourceKey
An optional plugin string-resource key for a localized alias.
Exception: ArgumentException
The alias is blank, or a supplied resource key is blank.

Properties

  • ResourceKeyGets the optional plugin string-resource key for a localized alias.
  • ValueGets the literal alias and localization fallback.

ResourceKey

C#
public string? ResourceKey { get; }
Gets the optional plugin string-resource key for a localized alias.

Value

C#
public string Value { get; }
Gets the literal alias and localization fallback.