AspNetCore.Extensions.ScriptHelper.GetFiledName C# (CSharp) Method

GetFiledName() private static method

private static GetFiledName ( FileInfo index ) : string
index FileInfo
return string
        private static string GetFiledName(FileInfo index)
        {
            List<string> list = index.Name.Split('.', '-', '/').Where(o => !string.IsNullOrEmpty(o)).ToList();
            return string.Join("", list.Select(o => char.ToUpper(o[0]) + o.Substring(1)));
        }