C# 클래스 MonoSoftware.MonoX.Samples.Repositories.PopularGroupRepository

Repository for social network popular group-related functionality
상속: MonoSoftware.MonoX.Repositories.GroupRepository
파일 보기 프로젝트 열기: MonoSoftware/MonoX-Sample-Solution

공개 메소드들

메소드 설명
GetInstance ( ) : PopularGroupRepository

Returns an instance of the repository class, wraps the constructor to allow for encapsulated instatiation, so the logic in he constructor can be changed without changing the client code. Reference: http://www.netobjectives.com/ezines/ez0405NetObj_PerspectivesOfUseVsCreationInOODesign.pdf

GetPopularGroups ( string category, System.Guid categoryId, int pageNumber, int pageSize, int &recordCount ) : List

Retrieves a list of groups matching the criteria specified via method parameters.

보호된 메소드들

메소드 설명
PopularGroupRepository ( ) : System

Constructor.

메소드 상세

GetInstance() 공개 정적인 메소드

Returns an instance of the repository class, wraps the constructor to allow for encapsulated instatiation, so the logic in he constructor can be changed without changing the client code. Reference: http://www.netobjectives.com/ezines/ez0405NetObj_PerspectivesOfUseVsCreationInOODesign.pdf
public static GetInstance ( ) : PopularGroupRepository
리턴 PopularGroupRepository

GetPopularGroups() 공개 메소드

Retrieves a list of groups matching the criteria specified via method parameters.
public GetPopularGroups ( string category, System.Guid categoryId, int pageNumber, int pageSize, int &recordCount ) : List
category string Category name.
categoryId System.Guid Category Id
pageNumber int Page number.
pageSize int Page size.
recordCount int Record count.
리턴 List

PopularGroupRepository() 보호된 메소드

Constructor.
protected PopularGroupRepository ( ) : System
리턴 System