Class AttachmentController
Inheritance
AttachmentController
Assembly: DotNetNuke.dll
Syntax
public class AttachmentController : IAttachmentController
Constructors
AttachmentController()
Declaration
public AttachmentController()
AttachmentController(IContentController)
Declaration
public AttachmentController(IContentController contentController)
Parameters
Methods
AddFileToContent(int, IFileInfo)
Declaration
public void AddFileToContent(int contentItemId, IFileInfo fileInfo)
Parameters
AddFilesToContent(int, IEnumerable<IFileInfo>)
Declaration
public void AddFilesToContent(int contentItemId, IEnumerable<IFileInfo> fileInfo)
Parameters
AddImageToContent(int, IFileInfo)
Declaration
public void AddImageToContent(int contentItemId, IFileInfo fileInfo)
Parameters
AddImagesToContent(int, IEnumerable<IFileInfo>)
Declaration
public void AddImagesToContent(int contentItemId, IEnumerable<IFileInfo> fileInfo)
Parameters
AddVideoToContent(int, IFileInfo)
Declaration
public void AddVideoToContent(int contentItemId, IFileInfo fileInfo)
Parameters
AddVideosToContent(int, IEnumerable<IFileInfo>)
Declaration
public void AddVideosToContent(int contentItemId, IEnumerable<IFileInfo> fileInfo)
Parameters
GetFilesByContent(int)
Declaration
public IList<IFileInfo> GetFilesByContent(int contentItemId)
Parameters
Type |
Name |
Description |
int |
contentItemId |
|
Returns
GetImagesByContent(int)
Declaration
public IList<IFileInfo> GetImagesByContent(int contentItemId)
Parameters
Type |
Name |
Description |
int |
contentItemId |
|
Returns
GetVideosByContent(int)
Declaration
public IList<IFileInfo> GetVideosByContent(int contentItemId)
Parameters
Type |
Name |
Description |
int |
contentItemId |
|
Returns
Implements
Extension Methods