Example #1
0
 public List <IAddonInfo> GetAddons(string folderPath)
 {
     try
     {
         var metadata = addonIO.GetMetaData(folderPath);
         return(objectBuilder.GetAddonInfo(metadata));
     }
     catch (Exception ex)
     {
         throw new Exception($"The provided folder: {folderPath} is invalid", ex);
     }
 }