Exemplo n.º 1
0
 public static T Config<T>(this IBasicApi api) where T : IConfig
 {
     return api.ConfigProvider.GetConfig<T>();
 }
Exemplo n.º 2
0
 public InitDatabase(INethermindApi api)
 {
     _api = api;
 }
Exemplo n.º 3
0
 public static T Db <T>(this IBasicApi api, string dbName) where T : class, IDb
 {
     return(api.DbProvider !.GetDb <T>(dbName));
 }
Exemplo n.º 4
0
 public InitCrypto(INethermindApi api)
 {
     _api = api;
 }