public SynologyCgiService(ILogger logger, IConnection connection, IMapper mapper) : base(logger)
 {
     Connection               = connection;
     _client                  = new SynologyApi(connection);
     _mapper                  = mapper;
     _synoSystemClient        = new SynoSystemClient(_client);
     _synoAuthClient          = new SynoAuthClient(_client);
     _synoInfoClient          = new SynoInfoClient(_client);
     _synoUpgradeClient       = new SynoUpgradeClient(_client);
     _synoStorageClient       = new SynoStorageClient(_client);
     _synoShareClient         = new SynoShareClient(_client);
     _synoServiceClient       = new SynoServiceClient(_client);
     _synoPackageClient       = new SynoPackageClient(_client);
     _synoPackageServerClient = new SynoPackageServerClient(_client);
 }
 public SynoDesktopClient(ISynoWebApi client) : base(client)
 {
     Resource       = "/query.cgi";
     ServiceApiName = "SYNO.Core.Desktop";
 }
 public SynoShareClient(ISynoWebApi client) : base(client)
 {
     Resource       = "/entry.cgi";
     ServiceApiName = "SYNO.Core.Share";
 }
 public SynoInfoClient(ISynoWebApi client) : base(client)
 {
     Resource       = "/query.cgi";
     ServiceApiName = "SYNO.API.Info";
 }
Beispiel #5
0
 public SynoPackageServerClient(ISynoWebApi client) : base(client)
 {
     Resource       = "/entry.cgi";
     ServiceApiName = "SYNO.Core.Package.Server";
 }
Beispiel #6
0
 public SynoAuthClient(ISynoWebApi client) : base(client)
 {
     Resource       = "/auth.cgi";
     ServiceApiName = "SYNO.API.Auth";
 }
Beispiel #7
0
 public SynoStorageClient(ISynoWebApi client) : base(client)
 {
     Resource       = "/entry.cgi";
     ServiceApiName = "SYNO.Storage.CGI.Storage";
 }
 public BaseSynoClient(ISynoWebApi client)
 {
     _client = client;
 }
 public SynoFileStationClient(ISynoWebApi client) : base(client)
 {
     Resource       = "/entry.cgi";
     ServiceApiName = "SYNO.FileStation.List";
 }
 public SynoSystemClient(ISynoWebApi client) : base(client)
 {
     ServiceApiName = "SYNO.Core.System";
 }