Catel.IO.Path.RemoveStartAndTrailingSlashes C# (CSharp) Метод

RemoveStartAndTrailingSlashes() статический приватный Метод

Removes any slashes (\ or /) at the beginning and end of the string.
The is null or whitespace.
static private RemoveStartAndTrailingSlashes ( string value ) : string
value string Value to remove the slashes from.
Результат string
        internal static string RemoveStartAndTrailingSlashes(string value)
        {
            Argument.IsNotNullOrWhitespace("value", value);

            value = RemoveStartSlashes(value);
            value = RemoveTrailingSlashes(value);

            return value;
        }
    }