using Microsoft.Extensions.Options; namespace MilkStream.Client.Services; /// /// Provides access to media files (original, thumbnails, previews) via the API. /// public sealed class MediaService : AuthServiceBase { /// protected override HttpClient Client { get; init; } /// protected override ILogger Logger { get; init; } /// /// Initialises a new instance of the class. /// /// Service configuration options. /// Factory for creating HTTP clients. /// The login service for authentication. /// Logger instance. public MediaService( IOptions options, IHttpClientFactory httpClientFactory, LoginService loginService, ILogger logger ) : base(options, httpClientFactory, loginService, logger) { Client = base.Client; Logger = logger; } }