mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This commit is contained in:
@@ -72,7 +72,7 @@ namespace ArchiSteamFarm.IPC.Integration {
|
||||
}
|
||||
}
|
||||
|
||||
[PublicAPI]
|
||||
[UsedImplicitly]
|
||||
#if NETFRAMEWORK
|
||||
public async Task InvokeAsync(HttpContext context, IOptions<MvcJsonOptions> jsonOptions) {
|
||||
#else
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user