Убраны лишние классы
This commit is contained in:
@@ -35,7 +35,19 @@ public class YandexMusicApi
|
||||
/// <summary>Создаёт экземпляр API с инициализацией всех подсистем.</summary>
|
||||
public YandexMusicApi()
|
||||
{
|
||||
foreach (var property in GetType().GetProperties())
|
||||
property.SetValue(this, Activator.CreateInstance(property.PropertyType, this));
|
||||
Album = new YAlbumAPI(this);
|
||||
Artist = new YArtistAPI(this);
|
||||
Label = new YLabelAPI(this);
|
||||
Landing = new YLandingAPI(this);
|
||||
Library = new YLibraryAPI(this);
|
||||
Playlist = new YPlaylistAPI(this);
|
||||
Pins = new YPinsAPI(this);
|
||||
Radio = new YRadioAPI(this);
|
||||
Search = new YSearchAPI(this);
|
||||
Track = new YTrackAPI(this);
|
||||
Queue = new YQueueAPI(this);
|
||||
User = new YUserAPI(this);
|
||||
UserGeneratedContent = new YUgcAPI(this);
|
||||
Ynison = new YYnisonAPI(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user