コード例 #1
0
 /// <summary>
 ///     Load services configuration from JSON file
 /// </summary>
 /// <param name="fileName"></param>
 /// <returns></returns>
 public static ClientsConfiguration LoadFromJson(string fileName)
 {
     return(ConfigLoader.LoadConfig <ClientsConfiguration>(fileName));
 }
コード例 #2
0
 /// <summary>
 /// Load services configuration from JSON file
 /// </summary>
 /// <param name="fileName"></param>
 /// <returns></returns>
 public static ServicesConfiguration LoadFromJson(string fileName)
 {
     return(ConfigLoader.LoadConfig <ServicesConfiguration>(fileName));
 }