mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
after removing canvas id from module
This commit is contained in:
@@ -27,6 +27,16 @@ public record LocalCourseSettings
|
||||
var yaml = serializer.Serialize(this);
|
||||
return yaml;
|
||||
}
|
||||
|
||||
public static LocalCourseSettings ParseYaml(string rawText)
|
||||
{
|
||||
var deserializer = new DeserializerBuilder()
|
||||
.IgnoreUnmatchedProperties()
|
||||
.Build();
|
||||
|
||||
var settings = deserializer.Deserialize<LocalCourseSettings>(rawText);
|
||||
return settings;
|
||||
}
|
||||
}
|
||||
|
||||
public record SimpleTimeOnly
|
||||
|
||||
Reference in New Issue
Block a user