1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-13 08:38:19 -05:00

enhance script plugin features

(support service resolver with generic args)
(support requiresTarget for command)
This commit is contained in:
RaidMax
2020-09-28 20:32:53 -05:00
parent a11596a8fd
commit ca14311d72
10 changed files with 147 additions and 10 deletions

View File

@ -0,0 +1,23 @@
namespace ApplicationTests.Mocks
{
public interface IScriptResolverMock
{
string Value { get; set; }
}
public class ScriptResolverMock : IScriptResolverMock
{
public string Value { get; set; }
}
public interface IScriptResolverGenericMock<T, V>
{
T Value { get; set; }
V Value2 { get; set; }
}
public class ScriptResolverGenericMock<T, V> : IScriptResolverGenericMock<T, V>
{
public T Value { get; set; }
public V Value2 { get; set; }
}
}