C# Class Serenity.UriHelper

Mostrar archivo Open project: volkanceylan/Serenity

Public Methods

Method Description
Combine ( string url, string fileName ) : string

Combine a url with a filename by inserting "/" char between them.This works like Path.Combine

This function is used for only simple combining actions. like ".." relative actions doesn't be checked as well as URL with querystring doesn't be supported.

Method Details

Combine() public static method

Combine a url with a filename by inserting "/" char between them.This works like Path.Combine
This function is used for only simple combining actions. like ".." relative actions doesn't be checked as well as URL with querystring doesn't be supported.
public static Combine ( string url, string fileName ) : string
url string /// URL will be combined (null or empty can be used).
fileName string /// Filename or Path (required).
return string