Esempio n. 1
0
 /// <summary>
 /// Deserialize an object from YAML string.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="yaml"></param>
 /// <returns></returns>
 public static T FromYaml <T>(string yaml) where T : class, new()
 {
     return(serializer.FromYaml <T>(yaml));
 }