mirror of
https://github.com/parnic/advent-of-code-2022.git
synced 2025-06-16 13:40:13 -05:00
Appease Rider's inspections
The list is finally clear.
This commit is contained in:
@ -1,6 +1,4 @@
|
|||||||
using System.Diagnostics;
|
namespace aoc2022;
|
||||||
|
|
||||||
namespace aoc2022;
|
|
||||||
|
|
||||||
internal abstract class Day : IDisposable
|
internal abstract class Day : IDisposable
|
||||||
{
|
{
|
||||||
@ -13,7 +11,7 @@ internal abstract class Day : IDisposable
|
|||||||
{
|
{
|
||||||
Logger.Log($"<reverse>{GetType().Name}<r>");
|
Logger.Log($"<reverse>{GetType().Name}<r>");
|
||||||
|
|
||||||
using (var parseStopwatch = new Timer("Parsing"))
|
using (new Timer("Parsing"))
|
||||||
{
|
{
|
||||||
Parse();
|
Parse();
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
namespace aoc2022;
|
// ReSharper disable All
|
||||||
|
namespace aoc2022;
|
||||||
|
|
||||||
internal class DayTemplate : Day
|
internal class DayTemplate : Day
|
||||||
{
|
{
|
||||||
|
@ -6,7 +6,7 @@ internal class Timer : IDisposable
|
|||||||
{
|
{
|
||||||
private readonly Stopwatch stopwatch = Stopwatch.StartNew();
|
private readonly Stopwatch stopwatch = Stopwatch.StartNew();
|
||||||
private readonly string? name;
|
private readonly string? name;
|
||||||
private bool stopped = false;
|
private bool stopped;
|
||||||
public bool Disabled { get; set; }
|
public bool Disabled { get; set; }
|
||||||
|
|
||||||
public Timer(string? inName = null)
|
public Timer(string? inName = null)
|
||||||
|
Reference in New Issue
Block a user