Aqueduct.Appia.Core.FileSystemViewSourceProvider.RemoveViewPrefix C# (CSharp) Method

RemoveViewPrefix() private static method

private static RemoveViewPrefix ( string viewName ) : string
viewName string
return 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;
        }