Class ConnectionsController
Inheritance
System.Object
ConnectionsController
Implements
Inherited Members
Namespace: DotNetNuke.Services.Connections
Assembly: DotNetNuke.dll
Syntax
public class ConnectionsController : ServiceLocator<IConnectionsController, ConnectionsController>, IConnectionsController
Methods
| Improve this Doc View SourceGetConnectionConfigs(Int32, String)
Get Connection Configuration Value.
Declaration
public IDictionary<string, string> GetConnectionConfigs(int portalId, string name)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | The portal ID. |
System.String | name | The connector name. |
Returns
Type | Description |
---|---|
IDictionary<System.String, System.String> | A dictionary of configuration values for the connector, or null. |
GetConnections(Int32)
Get Connection Settings for a Site.
Declaration
public IList<IConnector> GetConnections(int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId |
Returns
Type | Description |
---|---|
IList<IConnector> | A list of IConnector instances. |
GetFactory()
Gets the service locator factory.
Declaration
protected override Func<IConnectionsController> GetFactory()
Returns
Type | Description |
---|---|
Func<IConnectionsController> | A factory function. |
Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Services.Connections.IConnectionsController, DotNetNuke.Services.Connections.ConnectionsController>.GetFactory()