public WorkerContainerInstallerGenerator(string projectName, StorageInterfaceGenerator storageInterface, MessageBusInterfaceGenerator messageBusInterface, MessageBusHandlerInterfaceGenerator messageBusHandlerInterface, OperationInterfaceGenerator operationInterface, ActionBaseGenerator actionBase, bool canInitialize = true) : base(projectName, "Utils", "Installer", typeof(WorkerContainerInstallerTemplate), canInitialize)
 {
     ActionBase                 = actionBase;
     StorageInterface           = storageInterface;
     MessageBusInterface        = messageBusInterface;
     MessageBusHandlerInterface = messageBusHandlerInterface;
     OperationInterface         = operationInterface;
 }
Esempio n. 2
0
 public HandlerGenerator(string projectName, AzureServiceBusQueue azureServiceBusQueue,
                         MessageBusHandlerInterfaceGenerator messageBusHandlerInterface, IList <TriggeredAction> modelParameters, IList <ActionGenerator> actions, OperationInterfaceGenerator operationInterface)
     : base(
         projectName, "Services", azureServiceBusQueue.Name + "Handler", typeof(HandlerTemplate),
         modelParameters, azureServiceBusQueue.Name + "Handler")
 {
     Actions                    = actions.Where(x => modelParameters.Select(y => y.Name).Contains(x.Key)).ToList();
     OperationInterface         = operationInterface;
     AzureServiceBusQueue       = azureServiceBusQueue;
     MessageBusHandlerInterface = messageBusHandlerInterface;
 }
Esempio n. 3
0
 public WorkerMainGenerator(string projectName, StorageInterfaceGenerator storageInterfaceGenerator, MessageBusInterfaceGenerator messageBusInterface, MessageBusHandlerInterfaceGenerator messageBusHandlerInterface) : base(projectName, "", "Program", typeof(WorkerMainTemplate))
 {
     StorageInterface           = storageInterfaceGenerator;
     MessageBusHandlerInterface = messageBusHandlerInterface;
     MessageBusInterface        = messageBusInterface;
 }