ProjectVHeaderCurrencyCatalog class
The list of currencies the header shows, one binding per header slot. Usually built from a ProjectVHeaderCurrencyCatalogAsset.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Header
public sealed class ProjectVHeaderCurrencyCatalog
Constructors​
ProjectVHeaderCurrencyCatalog(IEnumerable<ProjectVHeaderCurrencyBinding> bindings)​
Creates a catalog from the given bindings, keeping their order.
public ProjectVHeaderCurrencyCatalog(IEnumerable<ProjectVHeaderCurrencyBinding> bindings);
Parameters
| Name | Type | Description |
|---|---|---|
bindings | IEnumerable<ProjectVHeaderCurrencyBinding> | The header slots to show, in display order. No entry may be null and each view key may appear only once. An empty list shows no currencies. |
Exceptions
| Exception | When |
|---|---|
ArgumentNullException | bindings is null. |
ArgumentException | A binding is null, or two bindings use the same view key. |
Properties​
| Property | Type | Description |
|---|---|---|
Bindings | IReadOnlyList<ProjectVHeaderCurrencyBinding> | The bindings in display order. |