1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-09-12 04:53:09 +02:00

Add ScriptLoader.LoadResources with unlimited parameters

This commit is contained in:
2016-04-23 17:53:01 +02:00
parent 92ac138183
commit f4c7eb14ec

@@ -1,7 +1,9 @@
using System; using System;
using System.Collections.Generic;
using System.IO; using System.IO;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
using System.Linq;
namespace TweetDck.Resources{ namespace TweetDck.Resources{
static class ScriptLoader{ static class ScriptLoader{
@@ -13,5 +15,9 @@ namespace TweetDck.Resources{
return null; return null;
} }
} }
public static IList<string> LoadResources(params string[] names){
return names.Select(LoadResource).ToList();
}
} }
} }