Class FileLinkClickController
Inheritance
System.Object
FileLinkClickController
Implements
Inherited Members
Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke.dll
Syntax
public class FileLinkClickController : ServiceLocator<IFileLinkClickController, FileLinkClickController>, IFileLinkClickController
Methods
| Improve this Doc View SourceGetFactory()
Gets the service locator factory.
Declaration
protected override Func<IFileLinkClickController> GetFactory()
Returns
Type | Description |
---|---|
Func<IFileLinkClickController> | A factory function. |
Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Services.FileSystem.IFileLinkClickController, DotNetNuke.Services.FileSystem.FileLinkClickController>.GetFactory()
|
Improve this Doc
View Source
GetFileIdFromLinkClick(NameValueCollection)
Get the File Id value contained in a Link Click Url.
Declaration
public int GetFileIdFromLinkClick(NameValueCollection queryParams)
Parameters
Type | Name | Description |
---|---|---|
NameValueCollection | queryParams | Query string parameters collection from a Link Click url. |
Returns
Type | Description |
---|---|
System.Int32 | A File Id (or -1 if no File Id could be extracted from the query string parameters). |
GetFileLinkClick(IFileInfo)
Get the Link Click Url from a file.
Declaration
public string GetFileLinkClick(IFileInfo file)
Parameters
Type | Name | Description |
---|---|---|
IFileInfo | file | The specified file. |
Returns
Type | Description |
---|---|
System.String | The Link Click Url. |