Beispiel #1
0
 public override string GetValue(object value)
 {
     return(MarkdownHelper.Escape(LanguageHelper.GetLanguageTitle(((Snippet)value).Language)));
 }
Beispiel #2
0
 public static string EscapeMarkdown(this string value)
 {
     return(MarkdownHelper.Escape(value));
 }
 public override string GetValue(object value)
 {
     return(MarkdownHelper.Escape(((CharacterSequence)value).Value));
 }
 public override string GetValue(object value)
 {
     return(MarkdownHelper.Escape(((Snippet)value).Shortcut));
 }
        public override string GetValue(object value)
        {
            var snippet = (Snippet)value;

            return(MarkdownHelper.Escape(snippet.GetTitleWithoutShortcut()));
        }