Catel.IO.Path.ReplacePathSlashesByUrlSlashes C# (CSharp) Méthode

ReplacePathSlashesByUrlSlashes() static private méthode

Replaces path slashes (\) by url slashes (/).
The is null or whitespace.
static private ReplacePathSlashesByUrlSlashes ( string value ) : string
value string Value to convert.
Résultat string
        internal static string ReplacePathSlashesByUrlSlashes(string value)
        {
            Argument.IsNotNullOrWhitespace("value", value);

            return value.Replace("\\", "/");
        }