Class MergedCollectionConfig
Provides configuration options for a MergedCollectionMap<TCollection, TCoreCollection, TCollectionItem, TCoreCollectionItem>.
Inherited Members
Namespace: StrixMusic.Sdk.AdapterModels
Assembly: StrixMusic.Sdk.dll
Syntax
public class MergedCollectionConfig
Constructors
| Improve this Doc View SourceMergedCollectionConfig()
Creates a new instance of MergedCollectionConfig.
Declaration
public MergedCollectionConfig()
MergedCollectionConfig(MergedCollectionSorting, IEnumerable<string>)
Creates a new instance of MergedCollectionConfig.
Declaration
public MergedCollectionConfig(MergedCollectionSorting mergedCollectionSorting, IEnumerable<string> coreRanking)
Parameters
Type | Name | Description |
---|---|---|
MergedCollectionSorting | mergedCollectionSorting | |
IEnumerable<string> | coreRanking |
Properties
| Improve this Doc View SourceCoreRanking
The user's preferred ranking for each core, stored as the core's instance ID. Highest ranking first.
Declaration
public IReadOnlyList<string> CoreRanking { get; set; }
Property Value
Type | Description |
---|---|
IReadOnlyList<string> |
MergedCollectionSorting
The user's preference for how items in a collection from multiple sources are sorted.
Declaration
public MergedCollectionSorting MergedCollectionSorting { get; set; }
Property Value
Type | Description |
---|---|
MergedCollectionSorting |
Events
| Improve this Doc View SourceCoreRankingChanged
Raised when CoreRanking is changed.
Declaration
public event EventHandler<IReadOnlyList<string>>? CoreRankingChanged
Event Type
Type | Description |
---|---|
EventHandler<IReadOnlyList<string>> |
MergedCollectionSortingChanged
Raised when MergedCollectionSorting is changed.
Declaration
public event EventHandler<MergedCollectionSorting>? MergedCollectionSortingChanged
Event Type
Type | Description |
---|---|
EventHandler<MergedCollectionSorting> |