C# 클래스 SOLID.Examples.SingleResponsibilityPrinciple.RobsExerciseSolution.FakeUserRepository

상속: IUserRepository
파일 보기 프로젝트 열기: 7digital/SolidExamples

공개 메소드들

메소드 설명
AddAFailedLoginAttemptFor ( User user ) : void
GetLockCountFor ( User user ) : int
GetPassword ( string username ) : string
GetUserByUsername ( string username ) : User

비공개 메소드들

메소드 설명
SetLockCountFor ( User user, int lockCount ) : void

메소드 상세

AddAFailedLoginAttemptFor() 공개 메소드

public AddAFailedLoginAttemptFor ( User user ) : void
user User
리턴 void

GetLockCountFor() 공개 메소드

public GetLockCountFor ( User user ) : int
user User
리턴 int

GetPassword() 공개 메소드

public GetPassword ( string username ) : string
username string
리턴 string

GetUserByUsername() 공개 메소드

public GetUserByUsername ( string username ) : User
username string
리턴 User