Beispiel #1
0
 public LessonSpan(StringWithIndex content, string startMarker, string endMarker)
     : base(content)
 {
     StartMarker = startMarker;
     EndMarker   = endMarker;
     OverrideContent(content.TrimStart(startMarker).TrimEnd(endMarker));
 }
Beispiel #2
0
 public LessonEnd(StringWithIndex content)
     : base(content, "", "")
 {
     if (content.Length != 0)
     {
         throw new ArgumentException("LessonEnd cannot contain content");
     }
 }
Beispiel #3
0
 public LessonTest(StringWithIndex content) : base(content)
 {
 }
Beispiel #4
0
 public LessonFile(StringWithIndex content) : base(content)
 {
 }
Beispiel #5
0
 public LessonNode(StringWithIndex content)
 {
     Content = content;
 }
Beispiel #6
0
 public LessonBlock(StringWithIndex content) : base(content)
 {
 }
Beispiel #7
0
 public LessonCodeExplanationQuote(StringWithIndex content) : base(content, "* ", "\r\n")
 {
 }
Beispiel #8
0
 public LessonCode(StringWithIndex content) : base(content, "", "")
 {
 }
Beispiel #9
0
 public LessonStep(StringWithIndex content) : base(content)
 {
 }
Beispiel #10
0
 public LessonFileMethodReference(StringWithIndex content) : base(content, "## FILE = ", "\r\n")
 {
 }
Beispiel #11
0
 public LessonBlankTitlePlaceholder(StringWithIndex content, string startMarker, string endMarker) : base(content, startMarker, endMarker)
 {
 }
Beispiel #12
0
 public LessonStepTitle(StringWithIndex content) : base(content, "# STEP = ", "\r\n")
 {
 }
Beispiel #13
0
 public LessonDocumentTitle(StringWithIndex content) : base(content, "% TITLE = ", "\r\n")
 {
 }
Beispiel #14
0
 public LessonDocument(StringWithIndex content) : base(content)
 {
 }
Beispiel #15
0
 public LessonParagraph(StringWithIndex content) : base(content)
 {
 }
Beispiel #16
0
 public LessonPhrase(StringWithIndex content) : base(content, "- ", "\r\n")
 {
 }
Beispiel #17
0
 internal void OverrideContent(StringWithIndex content)
 {
     Content = content;
 }
Beispiel #18
0
 public LessonCodeExplanation(StringWithIndex content) : base(content)
 {
 }
Beispiel #19
0
 public LessonInstructions(StringWithIndex content) : base(content)
 {
 }
Beispiel #20
0
 public LessonGoal(StringWithIndex content) : base(content)
 {
 }
Beispiel #21
0
 public LessonSummary(StringWithIndex content) : base(content)
 {
 }
Beispiel #22
0
 public LessonComment(StringWithIndex content) : base(content, "// ", "\r\n")
 {
 }
Beispiel #23
0
 public LessonBlockBase(StringWithIndex content)
     : base(content)
 {
     Children = new List <LessonNode>();
 }