1234567891011121314151617181920 |
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace LearnBridgeNet
- {
- internal static class DebugSupport
- {
- private static readonly List<object> Objects = new List<object>();
- [Conditional("DEBUG")]
- public static void Add(object obj) => Objects.Add(obj);
- public static object[] GetObjects() => Objects.ToArray();
- }
- }
|