IW4M-Admin/Tests/ApplicationTests/Mocks/ScriptResolverGenericMock.cs
RaidMax 7f11921757 enhance script plugin features
(support service resolver with generic args)
(support requiresTarget for command)
2020-09-28 20:32:53 -05:00

24 lines
540 B
C#

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; }
}
}