mvc567 is a high performance, open-source ASP.NET Core-based web application platform. It provides CMS functionality to its users.
Helper utilities methods:
| Method | Parameters | Return | Description | | — | — | — | — | | MD5Hash | string input | string | Make MD5 hash from string. | —
| Method | Parameters | Return | Description | | — | — | — | — | | AssemblyDirectory (getter) | | string | Get current assembly directory. | | GenerateRandomName | | string | Generate random name. | | CreateDirectory | string directory | void | Create directory if doesn’t exist | | CreateFile | string filePath, string fileContent | void | Create file if doesn’t exist. | —
| Method | Parameters | Return | Description | | — | — | — | — | | GetEnumList | Type enumType | Dictionary<int, string> | Generate dictionary from enum type. | —
| Method | Parameters | Return | Description | | — | — | — | — | | SizeSuffix | Int64 value, int decimalPlaces = 1 | string | Get file size suffix based on file size. | | GetUniqueFileName | | string | Generate unique file name. | | GetFileExtension | string extension | FileExtensions | Parse file extension from string. | | GetFileType | FileExtensions fileExtension | FileTypes | Parse file type from string. | —
| Method | Parameters | Return | Description | | — | — | — | — | | GetStringFromHtmlContent | IHtmlContent content | string | Get HTML string from HTML content. | —
| Method | Parameters | Return | Description | | — | — | — | — | | GetJsonObjectByPath | string jsonPath | JObject | Get json object by file path. | —
Method | Parameters | Return | Description |
---|---|---|---|
SplitWordsByCapitalLetters | string words | string | Split capitalized string to separate words. |