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.Host.Tests/Modules/FakeConfigurable.cs
Harrison Deng 4996982c89 ServiceManager completed and ServiceInfo modified to increase encapsulation.
ServiceManager tested and ServiceInfo tests updated to reflect changes.
2020-12-26 13:50:09 -06:00

26 lines
548 B
C#

using GameServiceWarden.ModuleAPI;
namespace GameServiceWarden.Host.Tests.Modules
{
public class FakeConfigurable : IConfigurable
{
private string value;
public string OptionName { get; private set; }
public FakeConfigurable(string optionName)
{
this.OptionName = optionName;
}
public string GetValue()
{
return value;
}
public bool SetValue(string value)
{
this.value = value;
return true;
}
}
}