Полностью переписанное api
All checks were successful
Release / pack-and-publish (release) Successful in 36s
All checks were successful
Release / pack-and-publish (release) Successful in 36s
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
namespace YandexMusic.API;
|
||||
|
||||
/// <summary>Родительский класс для всех веток API.</summary>
|
||||
/// <summary>Базовый класс для всех веток API.</summary>
|
||||
public abstract class YCommonAPI
|
||||
{
|
||||
/// <summary>Основной экземпляр API.</summary>
|
||||
protected readonly YandexMusicApi api;
|
||||
protected YandexMusicApi Api { get; }
|
||||
|
||||
/// <summary>Инициализирует новый экземпляр.</summary>
|
||||
/// <param name="yandex">Экземпляр основного API.</param>
|
||||
protected YCommonAPI(YandexMusicApi yandex) => api = yandex;
|
||||
protected YCommonAPI(YandexMusicApi api) => Api = api;
|
||||
}
|
||||
Reference in New Issue
Block a user