C# 클래스 eu.sig.training.ch06.userservice.v2.UserService

파일 보기 프로젝트 열기: oreillymedia/building_maintainable_software

공개 메소드들

메소드 설명
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

메소드 상세

ChangeUserInfo() 공개 메소드

public ChangeUserInfo ( UserInfo userInfo ) : User
userInfo UserInfo
리턴 User

DoesUserExist() 공개 메소드

public DoesUserExist ( string userId ) : bool
userId string
리턴 bool

GetNotificationTypes() 공개 메소드

public GetNotificationTypes ( User user ) : List
user User
리턴 List

LoadUser() 공개 메소드

public LoadUser ( string userId ) : User
userId string
리턴 User

RegisterForNotifications() 공개 메소드

public RegisterForNotifications ( User user, NotificationType type ) : void
user User
type NotificationType
리턴 void

UnregisterForNotifications() 공개 메소드

public UnregisterForNotifications ( User user, NotificationType type ) : void
user User
type NotificationType
리턴 void