private string GetViewPrefix(string viewName) { Match match = Regex.Match(viewName, Conventions.ViewPrefixPattern); if (match.Success) return match.Value; return String.Empty; }