piwigodotnet/PiwigoDotnet/Piwigo.Client/PiwigoClient.cs

17 lines
612 B
C#

namespace Piwigo.Client;
public class PiwigoClient : IPiwigoClient
{
public PiwigoClient(IImageApi image, ITagApi tag, ISessionApi session, IAlbumApi album)
{
Image = image ?? throw new ArgumentNullException(nameof(image));
Tag = tag ?? throw new ArgumentNullException(nameof(tag));
Session = session ?? throw new ArgumentNullException(nameof(session));
Album = album ?? throw new ArgumentNullException(nameof(album));
}
public IImageApi Image { get; }
public ITagApi Tag { get; }
public ISessionApi Session { get; }
public IAlbumApi Album { get; }
}