Working on debug contexts

This commit is contained in:
Heath Volmer
2016-12-07 14:24:12 -07:00
parent 4372424ba8
commit d6acc33ad0
2 changed files with 6 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ namespace PepperDash.Core.DebugThings
public DebugContextItem GetOrCreateItem(string contextKey)
{
if (!Items.ContainsKey(contextKey))
Items[contextKey] = new DebugContextItem() { Level = 0 };
Items[contextKey] = new DebugContextItem(this) { Level = 0 };
return Items[contextKey];
}
}
@@ -49,5 +49,10 @@ namespace PepperDash.Core.DebugThings
{
[JsonProperty("level")]
public int Level { get; set; }
public DebugContextItem(DebugContextCollection parent)
{
}
}
}