Catel.IO.Path.ReplacePathSlashesByUrlSlashes C# (CSharp) Method

ReplacePathSlashesByUrlSlashes() static private method

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

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