public ActionControllerGenerator(string projectName, string actionName, IList <ActionGenerator> actions, CustomHttpActivatorGenerator httpActivator, StorageInterfaceGenerator storageInterfaceGenerator, OperationInterfaceGenerator operationInterface) : base(projectName, "Controllers", actions.Single(x => x.Key == actionName).Key + "Controller", typeof(ActionControllerTemplate)) { OperationInterface = operationInterface; Action = actions.Single(x => x.Key == actionName); StorageInterface = storageInterfaceGenerator; HttpActivator = httpActivator; }
public GlobalAsaxCsGenerator(string projectName, CustomHttpActivatorGenerator httpActivator, WebApiContainerInstallerGenerator installer) : base(projectName, "", "Global.asax", typeof(GlobalAsaxCsTemplate)) { Installer = installer; HttpActivator = httpActivator; }