mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 09:00:13 +00:00
Implement basic code contracts
This commit is contained in:
@@ -25,6 +25,7 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using ArchiSteamFarm.Localization;
|
||||
using HtmlAgilityPack;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ArchiSteamFarm {
|
||||
internal sealed class SteamSaleEvent : IDisposable {
|
||||
@@ -33,7 +34,7 @@ namespace ArchiSteamFarm {
|
||||
private readonly Bot Bot;
|
||||
private readonly Timer SaleEventTimer;
|
||||
|
||||
internal SteamSaleEvent(Bot bot) {
|
||||
internal SteamSaleEvent([NotNull] Bot bot) {
|
||||
Bot = bot ?? throw new ArgumentNullException(nameof(bot));
|
||||
|
||||
SaleEventTimer = new Timer(
|
||||
|
||||
Reference in New Issue
Block a user