1using System.Collections.Generic;
6 public List<ExcelData>
items =
new List<ExcelData>(0);
8 public Dictionary<string, Dictionary<string, string>>
all =
new Dictionary<string, Dictionary<string, string>>();
10 public List<Dictionary<string, string>>
list =
new List<Dictionary<string, string>>();
32 List<Dictionary<string, string>> obj =
item.BuildList();
33 string directoryName =
new FileInfo(
item.path).DirectoryName;
34 foreach (Dictionary<string, string> item2
in obj)
36 item2[
"path"] = directoryName;
37 all[item2[
"id"]] = item2;
49 public Dictionary<string, string>
GetRow(
string id)
55 return all.TryGetValue(
id) ??
list[0];
Dictionary< string, Dictionary< string, string > > all
List< Dictionary< string, string > > list
virtual void OnInitialize()
Dictionary< string, string > GetRow(string id)
virtual void Initialize()