예제 #1
0
파일: SpanFactory.cs 프로젝트: zyonet/Mvc
 public static SpanConstructor Markup(this SpanFactory self, string content)
 {
     return(self.Span(SpanKind.Markup, content, markup: true).With(new MarkupChunkGenerator()));
 }
예제 #2
0
파일: SpanFactory.cs 프로젝트: zyonet/Mvc
 public static SpanConstructor MetaCode(this SpanFactory self, string content)
 {
     return(self.Span(SpanKind.MetaCode, content, markup: false));
 }
예제 #3
0
파일: SpanFactory.cs 프로젝트: zyonet/Mvc
 public static UnclassifiedCodeSpanConstructor Code(this SpanFactory self, string content)
 {
     return(new UnclassifiedCodeSpanConstructor(
                self.Span(SpanKind.Code, content, markup: false)));
 }
예제 #4
0
파일: SpanFactory.cs 프로젝트: zyonet/Mvc
 public static SpanConstructor CodeTransition(this SpanFactory self, string content)
 {
     return(self.Span(SpanKind.Transition, content, markup: false).Accepts(AcceptedCharacters.None));
 }
예제 #5
0
파일: SpanFactory.cs 프로젝트: zyonet/Mvc
 public static SpanConstructor EmptyHtml(this SpanFactory self)
 {
     return(self.Span(SpanKind.Markup, new HtmlSymbol(self.LocationTracker.CurrentLocation, String.Empty, HtmlSymbolType.Unknown))
            .With(new MarkupChunkGenerator()));
 }