mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 15:14:41 +00:00
Misc
This commit is contained in:
parent
1b3ef7a41d
commit
a92c212a69
3 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue