Esempio n. 1
0
 /// <summary>
 /// Deserialize an object from a file containing TOML string.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="filePath"></param>
 /// <returns></returns>
 public static T FromTomlFile <T>(string filePath) where T : class, new()
 {
     return(serializer.FromTomlFile <T>(filePath));
 }