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

GetViewPrefix() private method

private GetViewPrefix ( string viewName ) : string
viewName string
return string
        private string GetViewPrefix(string viewName)
        {
            Match match = Regex.Match(viewName, Conventions.ViewPrefixPattern);

            if (match.Success)
                return match.Value;

            return String.Empty;
        }