mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
50 lines
1.5 KiB
C#
50 lines
1.5 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: ZuneXml.RecommendedAlbum
|
|
// Assembly: ZuneShell, Version=4.7.0.0, Culture=neutral, PublicKeyToken=ddd0da4d3e678217
|
|
// MVID: FC8028F3-A47B-4FB4-B35B-11D1752D8264
|
|
// Assembly location: C:\Program Files\Zune\ZuneShell.dll
|
|
|
|
using Microsoft.Iris;
|
|
using System.Collections;
|
|
|
|
namespace ZuneXml
|
|
{
|
|
internal class RecommendedAlbum : Album
|
|
{
|
|
internal static XmlDataProviderObject ConstructRecommendedAlbumObject(
|
|
DataProviderQuery owner,
|
|
object objectTypeCookie)
|
|
{
|
|
return new RecommendedAlbum(owner, objectTypeCookie);
|
|
}
|
|
|
|
internal RecommendedAlbum(DataProviderQuery owner, object resultTypeCookie)
|
|
: base(owner, resultTypeCookie)
|
|
{
|
|
}
|
|
|
|
internal IList Reasons => (IList)base.GetProperty(nameof(Reasons));
|
|
|
|
internal string ReferrerContext => (string)base.GetProperty(nameof(ReferrerContext));
|
|
|
|
public override object GetProperty(string propertyName)
|
|
{
|
|
switch (propertyName)
|
|
{
|
|
case "PointsPrice":
|
|
return PointsPrice;
|
|
case "CanPurchase":
|
|
return CanPurchase;
|
|
case "CanPurchaseMP3":
|
|
return CanPurchaseMP3;
|
|
case "InCollection":
|
|
return InCollection;
|
|
case "LibraryId":
|
|
return LibraryId;
|
|
default:
|
|
return base.GetProperty(propertyName);
|
|
}
|
|
}
|
|
}
|
|
}
|