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:
23
Tests/ApplicationTests/Mocks/ScriptResolverGenericMock.cs
Normal file
23
Tests/ApplicationTests/Mocks/ScriptResolverGenericMock.cs
Normal 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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user