C# Class OurUmbraco.NotificationsWeb.Services.NotificationService

Afficher le fichier Open project: umbraco/OurUmbraco Class Usage Examples

Méthodes publiques

Méthode Description
GetForumSubscriptionsFromMember ( int memberId, long take = 50, long page = 1 ) : Page
GetNumberOfForumSubscriptionsFromMember ( int memberId ) : long
GetNumberOfTopicSubscriptionsFromMember ( int memberId ) : long
GetTopicSubscriptionsFromMember ( int memberId, long take = 50, long page = 1 ) : Page
IsSubscribedToForum ( int forumId, int memberId ) : bool
IsSubscribedToTopic ( int topicId, int memberId ) : bool
NotificationService ( Umbraco.Core.DatabaseContext dbContext ) : System
RemoveAllForumSubscriptions ( int forumId ) : void
RemoveAllTopicSubscriptions ( int topicId ) : void
SubscribeToForum ( int forumId, int memberId ) : void
SubscribeToForumTopic ( int topicId, int memberId ) : void
UnSubscribeFromForum ( int forumId, int memberId ) : void
UnSubscribeFromForumTopic ( int topicId, int memberId ) : void

Method Details

GetForumSubscriptionsFromMember() public méthode

public GetForumSubscriptionsFromMember ( int memberId, long take = 50, long page = 1 ) : Page
memberId int
take long
page long
Résultat Page

GetNumberOfForumSubscriptionsFromMember() public méthode

public GetNumberOfForumSubscriptionsFromMember ( int memberId ) : long
memberId int
Résultat long

GetNumberOfTopicSubscriptionsFromMember() public méthode

public GetNumberOfTopicSubscriptionsFromMember ( int memberId ) : long
memberId int
Résultat long

GetTopicSubscriptionsFromMember() public méthode

public GetTopicSubscriptionsFromMember ( int memberId, long take = 50, long page = 1 ) : Page
memberId int
take long
page long
Résultat Page

IsSubscribedToForum() public méthode

public IsSubscribedToForum ( int forumId, int memberId ) : bool
forumId int
memberId int
Résultat bool

IsSubscribedToTopic() public méthode

public IsSubscribedToTopic ( int topicId, int memberId ) : bool
topicId int
memberId int
Résultat bool

NotificationService() public méthode

public NotificationService ( Umbraco.Core.DatabaseContext dbContext ) : System
dbContext Umbraco.Core.DatabaseContext
Résultat System

RemoveAllForumSubscriptions() public méthode

public RemoveAllForumSubscriptions ( int forumId ) : void
forumId int
Résultat void

RemoveAllTopicSubscriptions() public méthode

public RemoveAllTopicSubscriptions ( int topicId ) : void
topicId int
Résultat void

SubscribeToForum() public méthode

public SubscribeToForum ( int forumId, int memberId ) : void
forumId int
memberId int
Résultat void

SubscribeToForumTopic() public méthode

public SubscribeToForumTopic ( int topicId, int memberId ) : void
topicId int
memberId int
Résultat void

UnSubscribeFromForum() public méthode

public UnSubscribeFromForum ( int forumId, int memberId ) : void
forumId int
memberId int
Résultat void

UnSubscribeFromForumTopic() public méthode

public UnSubscribeFromForumTopic ( int topicId, int memberId ) : void
topicId int
memberId int
Résultat void