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;
        }
    }