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

Datei anzeigen Open project: oreillymedia/building_maintainable_software

Public Methods

Method Description
BlockUser ( User user ) : void
ChangeUserInfo ( UserInfo userInfo ) : User
DoesUserExist ( string userId ) : bool
GetAllBlockedUsers ( ) : List
GetNotificationTypes ( User user ) : List
LoadUser ( string userId ) : User
RegisterForNotifications ( User user, NotificationType type ) : void
SearchUsers ( UserInfo userInfo ) : List
UnregisterForNotifications ( User user, NotificationType type ) : void

Method Details

BlockUser() public method

public BlockUser ( User user ) : void
user User
return void

ChangeUserInfo() public method

public ChangeUserInfo ( UserInfo userInfo ) : User
userInfo UserInfo
return User

DoesUserExist() public method

public DoesUserExist ( string userId ) : bool
userId string
return bool

GetAllBlockedUsers() public method

public GetAllBlockedUsers ( ) : List
return List

GetNotificationTypes() public method

public GetNotificationTypes ( User user ) : List
user User
return List

LoadUser() public method

public LoadUser ( string userId ) : User
userId string
return User

RegisterForNotifications() public method

public RegisterForNotifications ( User user, NotificationType type ) : void
user User
type NotificationType
return void

SearchUsers() public method

public SearchUsers ( UserInfo userInfo ) : List
userInfo UserInfo
return List

UnregisterForNotifications() public method

public UnregisterForNotifications ( User user, NotificationType type ) : void
user User
type NotificationType
return void