Aqueduct.Appia.Core.FileSystemViewSourceProvider.RemoveViewPrefix C# (CSharp) Метод

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

private static RemoveViewPrefix ( string viewName ) : string
viewName string
Результат string
        private static string RemoveViewPrefix(string viewName)
        {
            Match match = Regex.Match(viewName, Conventions.ViewPrefixPattern);
            if (match.Success)
                return viewName.Substring(match.Value.Length);
            return viewName;
        }