This commit is contained in:
Archi
2021-07-20 14:43:16 +02:00
parent 1b3ef7a41d
commit a92c212a69
3 changed files with 6 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ namespace ArchiSteamFarm.IPC.Integration {
}
}
[PublicAPI]
[UsedImplicitly]
#if NETFRAMEWORK
public async Task InvokeAsync(HttpContext context, IOptions<MvcJsonOptions> jsonOptions) {
#else

View File

@@ -39,7 +39,7 @@ namespace ArchiSteamFarm.NLog.Targets {
private readonly FixedSizeConcurrentQueue<string> HistoryQueue = new(DefaultMaxCount);
// This is NLog config property, it must have public get() and set() capabilities
[PublicAPI]
[UsedImplicitly]
public byte MaxCount {
get => HistoryQueue.MaxCount;
@@ -56,7 +56,7 @@ namespace ArchiSteamFarm.NLog.Targets {
// This parameter-less constructor is intentionally public, as NLog uses it for creating targets
// It must stay like this as we want to have our targets defined in our NLog.config
[PublicAPI]
[UsedImplicitly]
public HistoryTarget() { }
internal HistoryTarget(string name) : this() => Name = name;

View File

@@ -40,16 +40,16 @@ namespace ArchiSteamFarm.NLog.Targets {
internal const string TargetName = "Steam";
// This is NLog config property, it must have public get() and set() capabilities
[PublicAPI]
[UsedImplicitly]
public Layout? BotName { get; set; }
// This is NLog config property, it must have public get() and set() capabilities
[PublicAPI]
[UsedImplicitly]
public ulong ChatGroupID { get; set; }
// This is NLog config property, it must have public get() and set() capabilities
[PublicAPI]
[RequiredParameter]
[UsedImplicitly]
public ulong SteamID { get; set; }
// This parameter-less constructor is intentionally public, as NLog uses it for creating targets