C# Class Agribusiness.Web.Services.SiteService

Afficher le fichier Open project: ucdavis/Agribusiness Class Usage Examples

Méthodes publiques

Свойство Type Description
RepositoryFactory IRepositoryFactory
SeminarKey string

Méthodes publiques

Méthode Description
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

Method Details

GetLatestSeminar() public static méthode

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
Résultat Seminar

LoadSite() public static méthode

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
Résultat Site

LoadSiteDomains() public static méthode

Loads list of sites to determine domain
public static LoadSiteDomains ( ) : string>>.List
Résultat string>>.List

ReCacheSite() public static méthode

Updates cache for a site
public static ReCacheSite ( Site site ) : void
site Site
Résultat void

RecacheSiteDomains() public static méthode

Recache the list of sites to determine domain
public static RecacheSiteDomains ( ) : void
Résultat void

Property Details

RepositoryFactory public_oe static_oe property

public static IRepositoryFactory RepositoryFactory
Résultat IRepositoryFactory

SeminarKey public_oe static_oe property

public static string SeminarKey
Résultat string