C# Класс Rock.Model.LayoutService

The data access/service class for the Rock.Model.Site entity. This inherits from the Service class
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetBySiteId ( int siteId ) : IQueryable

Gets the Layout by site id.

GetGuid ( int id ) : Guid?

Gets the Guid for the Layout that has the specified Id

RegisterLayouts ( string physWebAppPath, SiteCache site ) : void

Registers any layouts in a particular site's theme folder that do not currently have any layouts registered in Rock.

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

GetBySiteId() публичный метод

Gets the Layout by site id.
public GetBySiteId ( int siteId ) : IQueryable
siteId int The site id.
Результат IQueryable

GetGuid() публичный метод

Gets the Guid for the Layout that has the specified Id
public GetGuid ( int id ) : Guid?
id int The identifier.
Результат Guid?

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

Registers any layouts in a particular site's theme folder that do not currently have any layouts registered in Rock.
public static RegisterLayouts ( string physWebAppPath, SiteCache site ) : void
physWebAppPath string A containing the physical path to Rock on the server.
site SiteCache The site.
Результат void