mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 03:57:08 +00:00
Merge pull request #4 in PEC/pepperdash-simplsharp-core from feature/debugContexts to master
* commit 'd6acc33ad0':
Working on debug contexts
This commit is contained in:
commit
755010251f
2 changed files with 6 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue