mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-02-01 09:32:21 -05:00
Add download cleaner and dry run (#58)
This commit is contained in:
21
code/Infrastructure/Interceptors/InterceptedService.cs
Normal file
21
code/Infrastructure/Interceptors/InterceptedService.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace Infrastructure.Interceptors;
|
||||
|
||||
public class InterceptedService : IInterceptedService
|
||||
{
|
||||
private object? _proxy;
|
||||
|
||||
public object Proxy
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_proxy is null)
|
||||
{
|
||||
throw new Exception("Proxy is not set");
|
||||
}
|
||||
|
||||
return _proxy;
|
||||
}
|
||||
|
||||
set => _proxy = value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user