mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Use file-scoped namespaces
This commit is contained in:
@@ -23,17 +23,17 @@ using System.ComponentModel.DataAnnotations;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace ArchiSteamFarm.IPC.Requests {
|
||||
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
|
||||
public sealed class BotRenameRequest {
|
||||
/// <summary>
|
||||
/// Specifies the new name for the bot. The new name can't be "ASF", neither the one used by any existing bot.
|
||||
/// </summary>
|
||||
[JsonProperty(Required = Required.Always)]
|
||||
[Required]
|
||||
public string NewName { get; private set; } = "";
|
||||
namespace ArchiSteamFarm.IPC.Requests;
|
||||
|
||||
[JsonConstructor]
|
||||
private BotRenameRequest() { }
|
||||
}
|
||||
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]
|
||||
public sealed class BotRenameRequest {
|
||||
/// <summary>
|
||||
/// Specifies the new name for the bot. The new name can't be "ASF", neither the one used by any existing bot.
|
||||
/// </summary>
|
||||
[JsonProperty(Required = Required.Always)]
|
||||
[Required]
|
||||
public string NewName { get; private set; } = "";
|
||||
|
||||
[JsonConstructor]
|
||||
private BotRenameRequest() { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user