Пример #1
0
 public void AddTable <TResult>(string name, string[] path, Func <TResult> function)
 {
     SourceDataManager.RegisterTable(
         new TableInfo(name, path ?? new string[0],
                       new MethodInfo
     {
         FunctionDelegate = function,
         FunctionMethod   = function?.Method,
     }));
 }
Пример #2
0
 public void AddTable <T>(string name, string[] path, IEnumerable <T> items)
 {
     SourceDataManager.RegisterTable(new TableInfo(name, path ?? new string[0], items));
 }