Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
PlantUmlStates.cs
1using System.Collections.Generic;
2using System.Text;
3
5{
9 public class PlantUmlStates
10 {
14 public readonly TimeUnit TimeUnit;
15
19 public readonly SortedDictionary<long, StringBuilder> ByTime = new SortedDictionary<long, StringBuilder>();
20
24 public readonly StringBuilder Summary = new StringBuilder();
25
31 {
32 this.TimeUnit = TimeUnit;
33 }
34
40 public StringBuilder GetBuilder(long Ticks)
41 {
42 if (!this.ByTime.TryGetValue(Ticks, out StringBuilder Output))
43 {
44 Output = new StringBuilder();
45 this.ByTime[Ticks] = Output;
46 }
47
48 return Output;
49 }
50 }
51}
Contains internal states used during generation of PlantUML diagram.s
StringBuilder GetBuilder(long Ticks)
Gets the PlantUML output StringBuilder associated with a time-point.
PlantUmlStates(TimeUnit TimeUnit)
Contains internal states used during generation of PlantUML diagram.s
readonly StringBuilder Summary
Summary part of diagrams.
readonly SortedDictionary< long, StringBuilder > ByTime
Event parts of diagrams.
TimeUnit
Options for presenting time in reports.
Definition: Profiler.cs:16