21 lines
602 B
C#
21 lines
602 B
C#
using Hcs.Broker;
|
|
using Hcs.WebApp.BackgroundServices.Executors._15_7_0_1.NsiCommon;
|
|
using Hcs.WebApp.Data.Hcs;
|
|
|
|
namespace Hcs.WebApp.BackgroundServices.Executors
|
|
{
|
|
public class ExecutorFactory
|
|
{
|
|
public IExecutor CreateExecutor(IClient client, Operation operation)
|
|
{
|
|
switch (operation.Type)
|
|
{
|
|
case Operation.OperationType.NsiCommon_15_7_0_1_ExportAllRegistryElements:
|
|
return new ExportAllRegistryElementsExecutor(client, operation);
|
|
}
|
|
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|