C# 클래스 Blog.Logic.Core.UsersLogic

상속: IUsersLogic
파일 보기 프로젝트 열기: jsnmgpnty/Blogness2.0

공개 메소드들

메소드 설명
Add ( User user ) : User
Get ( int userId ) : User
GetByIdentity ( string identityId ) : User
GetByUserName ( string userName ) : User
GetUsers ( int threshold = 10, int skip = 10 ) : List
GetUsersByCommunity ( int communityId, int threshold = 5, int skip = 10 ) : List
GetUsersWithNoIdentityId ( ) : List
IsValidEmailAddress ( string emailaddress ) : bool
SearchUsers ( string query, int threshold = 10, int skip = 10 ) : List
Update ( User user ) : User
UsersLogic ( IUserRepository userRepository, IAddressRepository addressRepository, IEducationRepository educationRepository, IMediaRepository mediaRepository ) : System

비공개 메소드들

메소드 설명
GetAddress ( User user ) : Address
GetEducations ( User user ) : List
GetUser ( int userId, string username ) : User
PrepareUserForAdding ( User user ) : User
ValidateUser ( User user ) : Error

메소드 상세

Add() 공개 메소드

public Add ( User user ) : User
user User
리턴 User

Get() 공개 메소드

public Get ( int userId ) : User
userId int
리턴 User

GetByIdentity() 공개 메소드

public GetByIdentity ( string identityId ) : User
identityId string
리턴 User

GetByUserName() 공개 메소드

public GetByUserName ( string userName ) : User
userName string
리턴 User

GetUsers() 공개 메소드

public GetUsers ( int threshold = 10, int skip = 10 ) : List
threshold int
skip int
리턴 List

GetUsersByCommunity() 공개 메소드

public GetUsersByCommunity ( int communityId, int threshold = 5, int skip = 10 ) : List
communityId int
threshold int
skip int
리턴 List

GetUsersWithNoIdentityId() 공개 메소드

public GetUsersWithNoIdentityId ( ) : List
리턴 List

IsValidEmailAddress() 공개 메소드

public IsValidEmailAddress ( string emailaddress ) : bool
emailaddress string
리턴 bool

SearchUsers() 공개 메소드

public SearchUsers ( string query, int threshold = 10, int skip = 10 ) : List
query string
threshold int
skip int
리턴 List

Update() 공개 메소드

public Update ( User user ) : User
user User
리턴 User

UsersLogic() 공개 메소드

public UsersLogic ( IUserRepository userRepository, IAddressRepository addressRepository, IEducationRepository educationRepository, IMediaRepository mediaRepository ) : System
userRepository IUserRepository
addressRepository IAddressRepository
educationRepository IEducationRepository
mediaRepository IMediaRepository
리턴 System