Class MessagingController
The Controller class for social Messaging.
Inheritance
System.Object
MessagingController
Implements
Inherited Members
Namespace: DotNetNuke.Services.Social.Messaging
Assembly: DotNetNuke.dll
Syntax
public class MessagingController : ServiceLocator<IMessagingController, MessagingController>, IMessagingController
Constructors
| Improve this Doc View SourceMessagingController()
Initializes a new instance of the MessagingController class.
Declaration
public MessagingController()
MessagingController(IDataService)
Initializes a new instance of the MessagingController class.
Declaration
public MessagingController(IDataService dataService)
Parameters
Type | Name | Description |
---|---|---|
IDataService | dataService |
Methods
| Improve this Doc View SourceGetFactory()
Gets the service locator factory.
Declaration
protected override Func<IMessagingController> GetFactory()
Returns
Type | Description |
---|---|
Func<IMessagingController> | A factory function. |
Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Services.Social.Messaging.IMessagingController, DotNetNuke.Services.Social.Messaging.MessagingController>.GetFactory()
|
Improve this Doc
View Source
SendMessage(Message, IList<RoleInfo>, IList<UserInfo>, IList<Int32>, UserInfo)
The Controller class for social Messaging.
Declaration
public virtual void SendMessage(Message message, IList<RoleInfo> roles, IList<UserInfo> users, IList<int> fileIDs, UserInfo sender)
Parameters
Type | Name | Description |
---|---|---|
Message | message | |
IList<RoleInfo> | roles | |
IList<UserInfo> | users | |
IList<System.Int32> | fileIDs | |
UserInfo | sender |
SendMessage(Message, IList<RoleInfo>, IList<UserInfo>, IList<Int32>)
The Controller class for social Messaging.
Declaration
public virtual void SendMessage(Message message, IList<RoleInfo> roles, IList<UserInfo> users, IList<int> fileIDs)
Parameters
Type | Name | Description |
---|---|---|
Message | message | |
IList<RoleInfo> | roles | |
IList<UserInfo> | users | |
IList<System.Int32> | fileIDs |