RemoteItemMover, Startup/Exit handler refactor
This commit is contained in:
@@ -5,13 +5,12 @@ namespace FileTime.Providers.Remote;
|
||||
|
||||
public static class Startup
|
||||
{
|
||||
|
||||
public static IServiceCollection AddRemoteProviderServices(this IServiceCollection serviceCollection)
|
||||
{
|
||||
serviceCollection.TryAddSingleton<IRemoteContentProvider, RemoteContentProvider>();
|
||||
serviceCollection.TryAddTransient<IRemoteItemCreator, RemoteItemCreator>();
|
||||
serviceCollection.TryAddTransient<IRemoteItemDeleter, RemoteItemDeleter>();
|
||||
serviceCollection.TryAddTransient<IRemoteItemMover, RemoteItemMover>();
|
||||
return serviceCollection;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user