C# 클래스 Rock.Model.BlockTypeService

Data access/service class for Rock.Model.BlockType objects.
파일 보기 프로젝트 열기: NewSpring/Rock 1 사용 예제들

공개 메소드들

메소드 설명
GetByGuid ( System.Guid guid ) : BlockType

Gets a Rock.Model.BlockType by its Guid.

GetByName ( string name ) : IQueryable

Gets a collection of Rock.Model.BlockType entities by Name

GetByPath ( string path ) : IQueryable

Gets a collection of Rock.Model.BlockType entities by path.

GetGuid ( int id ) : Guid?

Gets the Guid for the BlockType that has the specified Id

RegisterBlockTypes ( string physWebAppPath, System page, bool refreshAll = false ) : void

Registers any block types that are not currently registered in Rock.

비공개 메소드들

메소드 설명
FindAllBlocksInPath ( string physWebAppPath, string>.Dictionary list, string folder ) : void

Finds all the BlockTypes within a given path.

메소드 상세

GetByGuid() 공개 메소드

Gets a Rock.Model.BlockType by its Guid.
public GetByGuid ( System.Guid guid ) : BlockType
guid System.Guid identifier filter to search by.
리턴 BlockType

GetByName() 공개 메소드

Gets a collection of Rock.Model.BlockType entities by Name
public GetByName ( string name ) : IQueryable
name string A containing the Name filter to search for.
리턴 IQueryable

GetByPath() 공개 메소드

Gets a collection of Rock.Model.BlockType entities by path.
public GetByPath ( string path ) : IQueryable
path string A containing the path to search for.
리턴 IQueryable

GetGuid() 공개 메소드

Gets the Guid for the BlockType that has the specified Id
public GetGuid ( int id ) : Guid?
id int The identifier.
리턴 Guid?

RegisterBlockTypes() 공개 정적인 메소드

Registers any block types that are not currently registered in Rock.
public static RegisterBlockTypes ( string physWebAppPath, System page, bool refreshAll = false ) : void
physWebAppPath string A containing the physical path to Rock on the server.
page System The .
refreshAll bool if set to true will refresh name, category, and description for all block types (not just the new ones)
리턴 void