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

Class UserPreferencesController

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

Constructors

| Improve this Doc View Source

UserPreferencesController()

Initializes a new instance of the UserPreferencesController class.

Declaration
public UserPreferencesController()
| Improve this Doc View Source

UserPreferencesController(IDataService)

Initializes a new instance of the UserPreferencesController class.

Declaration
public UserPreferencesController(IDataService dataService)
Parameters
Type Name Description
IDataService dataService

Methods

| Improve this Doc View Source

GetFactory()

Gets the service locator factory.

Declaration
protected override Func<IUserPreferencesController> GetFactory()
Returns
Type Description
Func<IUserPreferencesController>

A factory function.

Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Services.Social.Messaging.IUserPreferencesController, DotNetNuke.Services.Social.Messaging.UserPreferencesController>.GetFactory()
| Improve this Doc View Source

GetUserPreference(UserInfo)

Get the User Messaging Preference.

Declaration
public UserPreference GetUserPreference(UserInfo userinfo)
Parameters
Type Name Description
UserInfo userinfo

User info.

Returns
Type Description
UserPreference

User Messaging Preference.

| Improve this Doc View Source

SetUserPreference(UserPreference)

Set the User Messaging Preference.

Declaration
public void SetUserPreference(UserPreference userPreference)
Parameters
Type Name Description
UserPreference userPreference

User Preference.

Implements

IUserPreferencesController

Extension Methods

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