示例#1
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);
示例#2
0
 public string GetLink(NormalizedPath path, string host, DirectoryPath root, bool useHttps, bool hideIndexPages, bool hideExtensions) =>
 LinkGenerator.GetLink(path, host, root, useHttps, hideIndexPages, hideExtensions);
示例#3
0
 public string GetLink(NormalizedPath path, string host, DirectoryPath root, bool hideIndexPages, bool hideExtensions)
 {
     return(LinkGenerator.GetLink(path, host, root, hideIndexPages, hideExtensions));
 }