C# Class Stubble.Core.Classes.Loaders.CompositeLoader

An IStubbleLoader with child loaders
Inheritance: IStubbleLoader
Afficher le fichier Open project: StubbleOrg/Stubble Class Usage Examples

Méthodes publiques

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

Method Details

AddLoader() public méthode

Adds a new loader to the composite loader.
public AddLoader ( IStubbleLoader loader ) : CompositeLoader
loader IStubbleLoader The loader to add
Résultat CompositeLoader

AddLoaders() public méthode

Adds multiple loaders to the composite loader.
public AddLoaders ( ) : CompositeLoader
Résultat CompositeLoader

CompositeLoader() public méthode

Initializes a new instance of the CompositeLoader class with child loaders.
public CompositeLoader ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Load() public méthode

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