20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# File 'lib/makit/dotnet/solution.rb', line 20
def self.setup(solution_type, name)
case solution_type
when SolutionType::ClassLibrary
SolutionClassLib.setup(name)
when SolutionType::ConsoleApplication
SolutionConsole.setup(name)
when SolutionType::Wasm
SolutionWasm.setup(name)
when SolutionType::Maui
SolutionMaui.setup(name)
when SolutionType::Wpf
SolutionWpf.setup(name)
else
raise ArgumentError, "Unsupported solution type: #{solution_type}"
end
end
|