C# Класс Agribusiness.Web.Services.SiteService

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
RepositoryFactory IRepositoryFactory
SeminarKey string

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

Метод Описание
GetLatestSeminar ( string siteId, bool forceReload = false ) : Seminar

Gets a site's latest seminar from cache if available, otherwise go to db

LoadSite ( string siteId, bool forceReload = false ) : Site

Loads Site from Cache if available, other goes to DB

LoadSiteDomains ( ) : string>>.List

Loads list of sites to determine domain

ReCacheSite ( Site site ) : void

Updates cache for a site

RecacheSiteDomains ( ) : void

Recache the list of sites to determine domain

Описание методов

GetLatestSeminar() публичный статический Метод

Gets a site's latest seminar from cache if available, otherwise go to db
public static GetLatestSeminar ( string siteId, bool forceReload = false ) : Seminar
siteId string
forceReload bool Force reload of the site
Результат Seminar

LoadSite() публичный статический Метод

Loads Site from Cache if available, other goes to DB
public static LoadSite ( string siteId, bool forceReload = false ) : Site
siteId string
forceReload bool Force reload of the site
Результат Site

LoadSiteDomains() публичный статический Метод

Loads list of sites to determine domain
public static LoadSiteDomains ( ) : string>>.List
Результат string>>.List

ReCacheSite() публичный статический Метод

Updates cache for a site
public static ReCacheSite ( Site site ) : void
site Site
Результат void

RecacheSiteDomains() публичный статический Метод

Recache the list of sites to determine domain
public static RecacheSiteDomains ( ) : void
Результат void

Описание свойств

RepositoryFactory публичное статическое свойство

public static IRepositoryFactory RepositoryFactory
Результат IRepositoryFactory

SeminarKey публичное статическое свойство

public static string SeminarKey
Результат string