C# Класс MonoSoftware.MonoX.Samples.Repositories.PopularGroupRepository

Repository for social network popular group-related functionality
Наследование: MonoSoftware.MonoX.Repositories.GroupRepository
Показать файл Открыть проект

Открытые методы

Метод Описание
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