Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 2419b685 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

code formatting

parent bb30d144
No related branches found
No related tags found
No related merge requests found
......@@ -5,26 +5,26 @@ namespace TUGraz.VectoCore.Utils
{
public class DebugData
{
private readonly List<dynamic> _data;
internal readonly List<dynamic> Data;
public DebugData()
{
#if DEBUG
_data = new List<dynamic>();
#endif
#if DEBUG
Data = new List<dynamic>();
#endif
}
[Conditional("DEBUG")]
public void Add(dynamic value)
{
_data.Add(value);
Data.Add(value);
}
public override string ToString()
{
#if DEBUG
return string.Join("\n", _data);
#else
#if DEBUG
return string.Join("\n", Data);
#else
return "-";
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment