StorefrontSearchAliasDescriptor14.1
Class in Unbroken.LaunchBox.Plugins.Components.Storefronts
public sealed class StorefrontSearchAliasDescriptorSupplies an alternate storefront name and an optional localized resource for searches.
Constructors
StorefrontSearchAliasDescriptorInitializes an alternate storefront name.
StorefrontSearchAliasDescriptor
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
public string? ResourceKey { get; }Gets the optional plugin string-resource key for a localized alias.
Value
public string Value { get; }Gets the literal alias and localization fallback.