Interface IMimeTypeResolver
Предоставляет метод для определения MIME-типа.
Namespace:InfinniPlatform.Http
Assembly:InfinniPlatform.Core.Abstractions.dll
Syntax
public interface IMimeTypeResolver
Methods
| Improve this Doc View SourceGetMimeType(String)
Возвращает MIME-тип по имени файла.
Declaration
string GetMimeType(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | Имя файла. |
Returns
Type | Description |
---|---|
System.String | MIME-тип файла. |