Exemplo n.º 1
0
 public static string ResolveToMarkdownLink(Dictionary <string, MetadataItem> dict, string input, string currentMemberName)
 {
     return(ResolveText(dict, input, s =>
     {
         var href = MetadataModelUtility.ResolveApiHrefRelativeToCurrentApi(dict, s.Name, currentMemberName);
         return string.Format("[{0}]({1})", s.Name, href);
     }, s => string.Format("[{0}]()", s)
                        ));
 }
Exemplo n.º 2
0
 private static string ResolveInternalLink(Dictionary <string, MetadataItem> index, string name, string currentName)
 {
     return(MetadataModelUtility.ResolveApiHrefRelativeToCurrentApi(index, name, currentName));
 }