mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
hooks
This commit is contained in:
@@ -7,4 +7,4 @@ public class RubricMarkdownParseException : Exception
|
||||
public class AssignmentMarkdownParseException : Exception
|
||||
{
|
||||
public AssignmentMarkdownParseException(string message) : base(message) { }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,5 +26,5 @@ public record AssignmentTemplate
|
||||
// }
|
||||
// return html;
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ using YamlDotNet.Serialization;
|
||||
|
||||
namespace LocalModels;
|
||||
|
||||
public record LocalAssignment: IModuleItem
|
||||
public record LocalAssignment : IModuleItem
|
||||
{
|
||||
private string _name = "";
|
||||
public string Name
|
||||
|
||||
@@ -6,4 +6,4 @@ public record LocalAssignmentGroup
|
||||
public string Id { get; init; } = string.Empty;
|
||||
public required string Name { get; init; }
|
||||
public double Weight { get; init; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace LocalModels;
|
||||
|
||||
public record LocalCoursePage: IModuleItem
|
||||
public record LocalCoursePage : IModuleItem
|
||||
{
|
||||
public required string Name { get; init; }
|
||||
public required string Text { get; set; }
|
||||
|
||||
@@ -3,7 +3,7 @@ using YamlDotNet.Serialization;
|
||||
|
||||
namespace LocalModels;
|
||||
|
||||
public record LocalQuiz: IModuleItem
|
||||
public record LocalQuiz : IModuleItem
|
||||
{
|
||||
|
||||
public required string Name { get; init; }
|
||||
@@ -171,7 +171,7 @@ Description: {Description}
|
||||
|
||||
public class QuizMarkdownParseException : Exception
|
||||
{
|
||||
public QuizMarkdownParseException(string message): base(message)
|
||||
public QuizMarkdownParseException(string message) : base(message)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ public record LocalQuizQuestion
|
||||
|
||||
return $"{questionTypeIndicator}{multilineMarkdownCompatibleText}";
|
||||
}
|
||||
else if(QuestionType == "matching")
|
||||
else if (QuestionType == "matching")
|
||||
{
|
||||
return $"^ {answer.Text} - {answer.MatchedText}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user