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

Class FileLinkClickController

Inheritance
System.Object
ServiceLocator<IFileLinkClickController, FileLinkClickController>
FileLinkClickController
Implements
IFileLinkClickController
Inherited Members
ServiceLocator<IFileLinkClickController, FileLinkClickController>.Instance
ServiceLocator<IFileLinkClickController, FileLinkClickController>.Factory
ServiceLocator<IFileLinkClickController, FileLinkClickController>.SetTestableInstance(IFileLinkClickController)
ServiceLocator<IFileLinkClickController, FileLinkClickController>.ClearInstance()
ServiceLocator<IFileLinkClickController, FileLinkClickController>.GetFactory()
Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke.dll
Syntax
public class FileLinkClickController : ServiceLocator<IFileLinkClickController, FileLinkClickController>, IFileLinkClickController

Methods

| Improve this Doc View Source

GetFactory()

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).

| Improve this Doc View Source

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.

Implements

IFileLinkClickController

Extension Methods

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