• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class FileContentTypeManager

Inheritance
System.Object
ComponentBase<IFileContentTypeManager, FileContentTypeManager>
FileContentTypeManager
Implements
IFileContentTypeManager
Inherited Members
ComponentBase<IFileContentTypeManager, FileContentTypeManager>.Instance
ComponentBase<IFileContentTypeManager, FileContentTypeManager>.RegisterInstance(IFileContentTypeManager)
Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke.dll
Syntax
public class FileContentTypeManager : ComponentBase<IFileContentTypeManager, FileContentTypeManager>, IFileContentTypeManager

Properties

| Improve this Doc View Source

ContentTypes

Gets get all content types dictionary.

Declaration
public virtual IDictionary<string, string> ContentTypes { get; }
Property Value
Type Description
IDictionary<System.String, System.String>

Methods

| Improve this Doc View Source

GetContentType(String)

Gets the Content Type for the specified file extension.

Declaration
public virtual string GetContentType(string extension)
Parameters
Type Name Description
System.String extension

The file extension.

Returns
Type Description
System.String

The Content Type for the specified extension.

Implements

IFileContentTypeManager

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS