C# Class eu.sig.training.ch06.userservice.v2.UserService

Afficher le fichier Open project: oreillymedia/building_maintainable_software

Méthodes publiques

Méthode Description
ChangeUserInfo ( UserInfo userInfo ) : User
DoesUserExist ( string userId ) : bool
GetNotificationTypes ( User user ) : List
LoadUser ( string userId ) : User
RegisterForNotifications ( User user, NotificationType type ) : void
UnregisterForNotifications ( User user, NotificationType type ) : void

Method Details

ChangeUserInfo() public méthode

public ChangeUserInfo ( UserInfo userInfo ) : User
userInfo UserInfo
Résultat User

DoesUserExist() public méthode

public DoesUserExist ( string userId ) : bool
userId string
Résultat bool

GetNotificationTypes() public méthode

public GetNotificationTypes ( User user ) : List
user User
Résultat List

LoadUser() public méthode

public LoadUser ( string userId ) : User
userId string
Résultat User

RegisterForNotifications() public méthode

public RegisterForNotifications ( User user, NotificationType type ) : void
user User
type NotificationType
Résultat void

UnregisterForNotifications() public méthode

public UnregisterForNotifications ( User user, NotificationType type ) : void
user User
type NotificationType
Résultat void