private static string RemoveViewPrefix(string viewName) { Match match = Regex.Match(viewName, Conventions.ViewPrefixPattern); if (match.Success) return viewName.Substring(match.Value.Length); return viewName; }