Exemplo n.º 1
0
 public SnapshotView(int snapShotIndex, MemorySnapshotReport report)
 {
     context = new SnapshotFields(new [] { "Snapshot index", "Type", "Name" });
     context["Snapshot index"] = snapShotIndex.ToString();
     context["Type"]           = report.ContextType;
     context["Name"]           = report.ContextName;
 }
Exemplo n.º 2
0
 public SnapshotView(int snapShotIndex, LayerExecutionReport report)
 {
     context = new SnapshotFields(new [] { "Layer index", "Type", "Name" });
     context["Layer index"] = snapShotIndex.ToString();
     context["Type"]        = report.LayerType;
     context["Name"]        = report.LayerName;
 }
Exemplo n.º 3
0
 public void AddContext(int uniqueId)
 {
     Assert.IsFalse(Contexts.ContainsKey(uniqueId));
     Contexts[uniqueId] = new SnapshotFields(ContextTitles);
     Fields[uniqueId]   = new SnapshotFields(FieldTitles);
 }