internal static void ScaffoldResponses(this AspNetCoreProject project) { var globalSelection = project.GlobalSelection(); CSharpInterfaceBuilder.CreateFiles(project.OutputDirectory, project.AspNetCoreProjectNamespaces.Responses, globalSelection.Settings.ForceOverwrite, project.GetResponseInterfaceDefinition(), project.GetSingleResponseInterfaceDefinition(), project.GetListResponseInterfaceDefinition(), project.GetPagedResponseInterfaceDefinition() ); CSharpClassBuilder.CreateFiles(project.OutputDirectory, project.AspNetCoreProjectNamespaces.Responses, globalSelection.Settings.ForceOverwrite, project.GetResponseClassDefinition(), project.GetSingleResponseClassDefinition(), project.GetListResponseClassDefinition(), project.GetPagedResponseClassDefinition() ); }
internal static void ScaffoldResponses(this AspNetCoreProject project) { project.Scaffold(project.GetResponseInterfaceDefinition(), project.OutputDirectory, project.AspNetCoreProjectNamespaces.Responses); project.Scaffold(project.GetSingleResponseInterfaceDefinition(), project.OutputDirectory, project.AspNetCoreProjectNamespaces.Responses); project.Scaffold(project.GetListResponseInterfaceDefinition(), project.OutputDirectory, project.AspNetCoreProjectNamespaces.Responses); project.Scaffold(project.GetPagedResponseInterfaceDefinition(), project.OutputDirectory, project.AspNetCoreProjectNamespaces.Responses); project.Scaffold(project.GetResponseClassDefinition(), project.OutputDirectory, project.AspNetCoreProjectNamespaces.Responses); project.Scaffold(project.GetSingleResponseClassDefinition(), project.OutputDirectory, project.AspNetCoreProjectNamespaces.Responses); project.Scaffold(project.GetListResponseClassDefinition(), project.OutputDirectory, project.AspNetCoreProjectNamespaces.Responses); project.Scaffold(project.GetPagedResponseClassDefinition(), project.OutputDirectory, project.AspNetCoreProjectNamespaces.Responses); }