Carrotware.CMS.Core.ContentPageHelper.ScrubPath C# (CSharp) Метод

ScrubPath() публичный статический Метод

public static ScrubPath ( string filePath ) : string
filePath string
Результат string
        public static string ScrubPath(string filePath)
        {
            string newFilePath = ScrubFilePath(filePath);

            if (!newFilePath.EndsWith(@"/")) {
                newFilePath = String.Format("{0}/", newFilePath).Trim();
            }

            return newFilePath;
        }