This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
gameservicewarden/tests/GameServiceWarden.Core.Tests/Modules/Games/FakeServiceConfigurable.cs
Harrison Deng dfc54fdc00 Implemented IPC system with minimal testing.
Large naming refactoring.

Added some more tests.
2021-04-08 21:36:08 -05:00

26 lines
576 B
C#

using GameServiceWarden.API.Module;
namespace GameServiceWarden.Core.Tests.Modules.Games
{
public class FakeServiceConfigurable : IServiceConfigurable
{
private string value;
public string OptionName { get; private set; }
public FakeServiceConfigurable(string optionName)
{
this.OptionName = optionName;
}
public string GetValue()
{
return value;
}
public bool SetValue(string value)
{
this.value = value;
return true;
}
}
}