Class StrixDataRootPluginBase
An implementation of IStrixDataRoot which delegates all member access to the Inner implementation,
unless the member is overridden in a derived class which changes the behavior.
Inheritance
StrixDataRootPluginBase
Assembly: StrixMusic.Sdk.dll
Syntax
public class StrixDataRootPluginBase : IModelPlugin, IStrixDataRoot, IAppModel, IMerged<ICore>, IEquatable<ICore>, IMerged, IAsyncInit, IAsyncDisposable, IDelegatable<IStrixDataRoot>
Constructors
|
Improve this Doc
View Source
Declaration
protected StrixDataRootPluginBase(ModelPluginMetadata registration, IStrixDataRoot inner)
Parameters
Type |
Name |
Description |
ModelPluginMetadata |
registration |
Metadata about the plugin which was provided during registration.
|
IStrixDataRoot |
inner |
The implementation which all member access is delegated to, unless the member is overridden in a derived class which changes the behavior.
|
Properties
|
Improve this Doc
View Source
Devices
Declaration
public virtual IReadOnlyList<IDevice> Devices { get; }
Property Value
|
Improve this Doc
View Source
Discoverables
Used to browse and discover new music.
Declaration
public virtual IDiscoverables? Discoverables { get; }
Property Value
|
Improve this Doc
View Source
Inner
Declaration
public virtual IStrixDataRoot Inner { get; }
Property Value
|
Improve this Doc
View Source
IsInitialized
Declaration
public virtual bool IsInitialized { get; }
Property Value
|
Improve this Doc
View Source
Library
Declaration
public virtual ILibrary Library { get; }
Property Value
|
Improve this Doc
View Source
MergeConfig
Configuration options for merging collections items together.
Declaration
public virtual MergedCollectionConfig MergeConfig { get; }
Property Value
|
Improve this Doc
View Source
The plugin metadata that was provided during registration.
Declaration
public ModelPluginMetadata Metadata { get; }
Property Value
|
Improve this Doc
View Source
Pins
A list of pinned playable items.
Declaration
public virtual IPlayableCollectionGroup? Pins { get; }
Property Value
|
Improve this Doc
View Source
RecentlyPlayed
Gets the recently played items for this .
Declaration
public virtual IRecentlyPlayed? RecentlyPlayed { get; }
Property Value
|
Improve this Doc
View Source
Search
Contains various search-related data and activities.
Declaration
public virtual ISearch? Search { get; }
Property Value
|
Improve this Doc
View Source
Sources
The sources that make up this merged item.
Declaration
public IReadOnlyList<ICore> Sources { get; }
Property Value
Methods
|
Improve this Doc
View Source
DisposeAsync()
Declaration
public virtual ValueTask DisposeAsync()
Returns
|
Improve this Doc
View Source
Equals(ICore?)
Declaration
public bool Equals(ICore? other)
Parameters
Type |
Name |
Description |
ICore |
other |
|
Returns
|
Improve this Doc
View Source
Equals(ICoreImage?)
Declaration
public virtual bool Equals(ICoreImage? other)
Parameters
Returns
|
Improve this Doc
View Source
InitAsync(CancellationToken)
Declaration
public Task InitAsync(CancellationToken cancellationToken = default)
Parameters
Returns
Events
|
Improve this Doc
View Source
DevicesChanged
Raised when the contents of Devices is changed.
Declaration
public virtual event CollectionChangedEventHandler<IDevice>? DevicesChanged
Event Type
Type |
Description |
CollectionChangedEventHandler<IDevice> |
|
|
Improve this Doc
View Source
DiscoverablesChanged
Declaration
public virtual event EventHandler<IDiscoverables>? DiscoverablesChanged
Event Type
|
Improve this Doc
View Source
PinsChanged
Raised when Pins is changed.
Declaration
public virtual event EventHandler<IPlayableCollectionGroup>? PinsChanged
Event Type
|
Improve this Doc
View Source
RecentlyPlayedChanged
Declaration
public virtual event EventHandler<IRecentlyPlayed>? RecentlyPlayedChanged
Event Type
|
Improve this Doc
View Source
SearchChanged
Raised when Search is changed.
Declaration
public virtual event EventHandler<ISearch>? SearchChanged
Event Type
|
Improve this Doc
View Source
SourcesChanged
Raised when any of the sources have changed.
Declaration
public event EventHandler? SourcesChanged
Event Type
Implements
OwlCore.ComponentModel.IAsyncInit
OwlCore.ComponentModel.IDelegatable<T>