mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 17:19:00 +03:00
Octol1ttle
84e730838b
*I'll start working on features and bugfixes after this PR, I promise* very short summary: - no more braceless statements - braces are on new lines now - `sealed` on everything that can be `sealed` - no more awkwardly looking alignment of fields/parameters - no more `Service` suffix on service fields. yeah. - no more `else`s. who needs them? - code style is now enforced by CI --------- Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
11 lines
229 B
C#
11 lines
229 B
C#
using System.Text.Json.Nodes;
|
|
using Remora.Results;
|
|
|
|
namespace Boyfriend.Data.Options;
|
|
|
|
public interface IOption
|
|
{
|
|
string Name { get; }
|
|
string Display(JsonNode settings);
|
|
Result Set(JsonNode settings, string from);
|
|
}
|