Ejemplo n.º 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);
Ejemplo n.º 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);
Ejemplo n.º 3
0
 public string GetLink(NormalizedPath path, string host, DirectoryPath root, bool hideIndexPages, bool hideExtensions)
 {
     return(LinkGenerator.GetLink(path, host, root, hideIndexPages, hideExtensions));
 }