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

Class MessagingController

The Controller class for social Messaging.

Inheritance
System.Object
ServiceLocator<IMessagingController, MessagingController>
MessagingController
Implements
IMessagingController
Inherited Members
ServiceLocator<IMessagingController, MessagingController>.Instance
ServiceLocator<IMessagingController, MessagingController>.Factory
ServiceLocator<IMessagingController, MessagingController>.SetTestableInstance(IMessagingController)
ServiceLocator<IMessagingController, MessagingController>.ClearInstance()
ServiceLocator<IMessagingController, MessagingController>.GetFactory()
Namespace: DotNetNuke.Services.Social.Messaging
Assembly: DotNetNuke.dll
Syntax
public class MessagingController : ServiceLocator<IMessagingController, MessagingController>, IMessagingController

Constructors

| Improve this Doc View Source

MessagingController()

Initializes a new instance of the MessagingController class.

Declaration
public MessagingController()
| Improve this Doc View Source

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 Source

GetFactory()

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
| Improve this Doc View Source

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

Implements

IMessagingController

Extension Methods

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