64 |
|
public List<IConfigPlugin> LoadedConfigPlugins { get; private set; } |
65 |
|
public List<IInputPlugin> LoadedInputPlugins { get; private set; } |
66 |
|
public List<IWindowPlugin> LoadedWindowPlugins { get; private set; } |
67 |
+ |
|
68 |
+ |
public IConfigPlugin GetConfigPlugin(string t) |
69 |
+ |
{ |
70 |
+ |
foreach (IConfigPlugin c in LoadedConfigPlugins) { if (c.ToString().ToLower() == t.ToLower()) { return c; } } |
71 |
+ |
return null; |
72 |
+ |
} |
73 |
+ |
public IInputPlugin GetInputPlugin(string t) |
74 |
+ |
{ |
75 |
+ |
foreach (IInputPlugin c in LoadedInputPlugins) { if (c.ToString().ToLower() == t.ToLower()) { return c; } } |
76 |
+ |
return null; |
77 |
+ |
} |
78 |
+ |
public IWindowPlugin GetWindowPlugin(string t) |
79 |
+ |
{ |
80 |
+ |
foreach (IWindowPlugin c in LoadedWindowPlugins) { if (c.ToString().ToLower() == t.ToLower()) { return c; } } |
81 |
+ |
return null; |
82 |
+ |
} |
83 |
+ |
|
84 |
|
#endregion |
85 |
|
|
86 |
|
private void GetConfigPluginsFromDll(FileInfo dll) |