Refactor: Update variable declarations for consistency and clarity across multiple files

This commit is contained in:
Miha Kralj
2025-12-29 09:45:16 -08:00
parent 16a21a5b65
commit bfa92e554b
6 changed files with 17 additions and 19 deletions
+6 -8
View File
@@ -106,14 +106,12 @@ public delegate void TBarPublishedHandler(object? sender, in TBarEventArgs args)
public class TBarSeries : IReadOnlyList<TBar>
{
#pragma warning disable MA0016 // Prefer using collection abstraction instead of implementation
protected readonly List<long> _t;
protected readonly List<double> _o;
protected readonly List<double> _h;
protected readonly List<double> _l;
protected readonly List<double> _c;
protected readonly List<double> _v;
#pragma warning restore MA0016
private readonly List<long> _t;
private readonly List<double> _o;
private readonly List<double> _h;
private readonly List<double> _l;
private readonly List<double> _c;
private readonly List<double> _v;
public string Name { get; set; } = "Bar";
public event TBarPublishedHandler? Pub;