C# 클래스 Stubble.Core.Classes.Loaders.CompositeLoader

An IStubbleLoader with child loaders
상속: IStubbleLoader
파일 보기 프로젝트 열기: StubbleOrg/Stubble 1 사용 예제들

공개 메소드들

메소드 설명
AddLoader ( IStubbleLoader loader ) : CompositeLoader

Adds a new loader to the composite loader.

AddLoaders ( ) : CompositeLoader

Adds multiple loaders to the composite loader.

CompositeLoader ( ) : System.Collections.Generic

Initializes a new instance of the CompositeLoader class with child loaders.

Load ( string name ) : string

Loads a template with the given name. Returns null if the template is not found

메소드 상세

AddLoader() 공개 메소드

Adds a new loader to the composite loader.
public AddLoader ( IStubbleLoader loader ) : CompositeLoader
loader IStubbleLoader The loader to add
리턴 CompositeLoader

AddLoaders() 공개 메소드

Adds multiple loaders to the composite loader.
public AddLoaders ( ) : CompositeLoader
리턴 CompositeLoader

CompositeLoader() 공개 메소드

Initializes a new instance of the CompositeLoader class with child loaders.
public CompositeLoader ( ) : System.Collections.Generic
리턴 System.Collections.Generic

Load() 공개 메소드

Loads a template with the given name. Returns null if the template is not found
When a template is not found in the loader
public Load ( string name ) : string
name string The name of the template to load
리턴 string