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

ファイルを表示 Open project: oreillymedia/building_maintainable_software

Public Methods

Method 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 method

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

DoesUserExist() public method

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

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

UnregisterForNotifications() public method

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