mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
20 lines
510 B
C#
20 lines
510 B
C#
using Microsoft.Iris;
|
|
using StrixMusic.Sdk.AppModels;
|
|
|
|
namespace Microsoft.Zune.Library;
|
|
|
|
public static class StrixLibraryDataProvider
|
|
{
|
|
public static IStrixDataRoot DataRoot { get; set; }
|
|
|
|
public static void Register()
|
|
{
|
|
Application.RegisterDataProvider("Library", new DataProviderQueryFactory(ConstructQuery));
|
|
}
|
|
|
|
private static DataProviderQuery ConstructQuery(object queryTypeCookie)
|
|
{
|
|
return new StrixLibraryDataProviderQuery(queryTypeCookie, DataRoot);
|
|
}
|
|
}
|