mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 02:08:27 -04:00
Global usings and file scoped namespaces
This commit is contained in:
@@ -1,20 +1,19 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NadekoBot.Common
|
||||
{
|
||||
public class CmdStrings
|
||||
{
|
||||
public string[] Usages { get; }
|
||||
public string Description { get; }
|
||||
namespace NadekoBot.Common;
|
||||
|
||||
[JsonConstructor]
|
||||
public CmdStrings(
|
||||
[JsonProperty("args")]string[] usages,
|
||||
[JsonProperty("desc")]string description
|
||||
)
|
||||
{
|
||||
Usages = usages;
|
||||
Description = description;
|
||||
}
|
||||
public class CmdStrings
|
||||
{
|
||||
public string[] Usages { get; }
|
||||
public string Description { get; }
|
||||
|
||||
[JsonConstructor]
|
||||
public CmdStrings(
|
||||
[JsonProperty("args")]string[] usages,
|
||||
[JsonProperty("desc")]string description
|
||||
)
|
||||
{
|
||||
Usages = usages;
|
||||
Description = description;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user