mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-23 21:15:49 +02:00
Add ScriptLoader.LoadResources with unlimited parameters
This commit is contained in:
parent
92ac138183
commit
f4c7eb14ec
@ -1,7 +1,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Linq;
|
||||
|
||||
namespace TweetDck.Resources{
|
||||
static class ScriptLoader{
|
||||
@ -13,5 +15,9 @@ public static string LoadResource(string name){
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static IList<string> LoadResources(params string[] names){
|
||||
return names.Select(LoadResource).ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user