Click or drag to resize
Askia

PageTemplatesFactoryCreateFromDirectory Method

Creates a template from a directory

Namespace:  AskiaCore
Assembly:  AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax
public static IPageTemplateCreationResult CreateFromDirectory(
	IContext ctx,
	string directory
)

Parameters

ctx
Type: AskiaCoreIContext
Context used by the template
directory
Type: SystemString
Directory from which the template will be created

Return Value

Type: IPageTemplateCreationResult
Returns the newly created template
See Also