Add back accidentally removed comments

This commit is contained in:
JustArchi
2017-04-05 17:29:25 +02:00
parent adfc992f26
commit 64845e3d0f

View File

@@ -32,17 +32,20 @@ namespace ArchiSteamFarm {
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")]
[Target("Steam")]
internal sealed class SteamTarget : TargetWithLayout {
// This is NLog config property, it must have public get() and set() capabilities
[SuppressMessage("ReSharper", "MemberCanBePrivate.Global")]
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")]
// This is NLog config property, it must have public get() and set() capabilities
public string BotName { get; set; }
// This is NLog config property, it must have public get() and set() capabilities
[SuppressMessage("ReSharper", "MemberCanBePrivate.Global")]
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")]
[RequiredParameter]
// This is NLog config property, it must have public get() and set() capabilities
public ulong SteamID { get; set; }
// This constructor is intentionally public, as NLog uses it for creating targets
// It must stay like this as we want to have SteamTargets defined in our NLog.config
// Keeping date in default layout also doesn't make much sense, so we remove it by default
[SuppressMessage("ReSharper", "EmptyConstructor")]
public SteamTarget() => Layout = "${level:uppercase=true}|${logger}|${message}";