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

GetViewName() private static method

private static GetViewName ( string viewName ) : string
viewName string
return string
        private static string GetViewName(string viewName)
        {
            string viewWithOutPrefix = RemoveViewPrefix(viewName);
            if (viewWithOutPrefix.StartsWith("/"))
                return viewWithOutPrefix.Substring(viewWithOutPrefix.LastIndexOf("/") + 1);
            else
                return viewWithOutPrefix;
        }