Example #1
0
 public string GetLink(NormalizedPath path, string host, DirectoryPath root, bool useHttps, bool hideIndexPages, bool hideExtensions) =>
 LinkGenerator.GetLink(path, host, root, useHttps, hideIndexPages, hideExtensions);
Example #2
0
 public string GetLink(NormalizedPath path, string host, DirectoryPath root, bool useHttps, bool hideIndexPages, bool hideExtensions) =>
 LinkGenerator.GetLink(path, host, root,
                       useHttps ? "https" : null,
                       hideIndexPages ? LinkGenerator.DefaultHidePages : null,
                       hideExtensions ? LinkGenerator.DefaultHideExtensions : null);
Example #3
0
 public string GetLink(NormalizedPath path, string host, DirectoryPath root, bool hideIndexPages, bool hideExtensions)
 {
     return(LinkGenerator.GetLink(path, host, root, hideIndexPages, hideExtensions));
 }