namespace Piwigo.Client; public class PiwigoClient : IPiwigoClient { public PiwigoClient(IGroupApi group, IImageApi image, IPermissionApi permission, ITagApi tag, IUserApi user, ISessionApi session, ICategoryApi category) { Group = group ?? throw new ArgumentNullException(nameof(group)); Image = image ?? throw new ArgumentNullException(nameof(image)); Permission = permission ?? throw new ArgumentNullException(nameof(permission)); Tag = tag ?? throw new ArgumentNullException(nameof(tag)); User = user ?? throw new ArgumentNullException(nameof(user)); Session = session ?? throw new ArgumentNullException(nameof(session)); Category = category ?? throw new ArgumentNullException(nameof(category)); } public IGroupApi Group { get; } public IImageApi Image { get; } public IPermissionApi Permission { get; } public ITagApi Tag { get; } public IUserApi User { get; } public ISessionApi Session { get; } public ICategoryApi Category { get; } }