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; }
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; }
public void AddContext(int uniqueId) { Assert.IsFalse(Contexts.ContainsKey(uniqueId)); Contexts[uniqueId] = new SnapshotFields(ContextTitles); Fields[uniqueId] = new SnapshotFields(FieldTitles); }