Example #1
0
 public static IProjectTemplate GetTemplate(DotNetProject project)
 {
     if (project.ContainsProjectJson())
     {
         return(new ProjectWithProjectJson(project));
     }
     else
     {
         return(new ProjectWithPackagesJson(project));
     }
 }