1234567891011121314151617 |
- using System.Collections.Generic;
- namespace InABox.Core.Reports
- {
- public static class ReportPrinters
- {
- private static readonly List<string> _printers = new List<string>();
- public static string[] All => _printers.ToArray();
- public static void Register(string printer)
- {
- if (!_printers.Contains(printer))
- _printers.Add(printer);
- }
- }
- }
|