コード例 #1
0
 public static string ToJson(this ConsoleMusicSheet self)
 {
     return(JsonConvert.SerializeObject(self, Converter.Settings));
 }
コード例 #2
0
 public static ConsoleMusicSheet Load(string fileName)
 {
     return(ConsoleMusicSheet.FromJson(EmbeddedResource.ReadAllText(Assembly, $"{Namespace}.{fileName}")));
 }