Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Addons.AddOnManager.AddTemplateAsync Method

Add a template - ignores non-existent templates.

Class: YetaWF.Core.Addons.AddOnManager
Namespace: YetaWF.Core.Addons
Assembly: YetaWF.Core

Syntax

public Task<bool> AddTemplateAsync(
    string areaName,
    string templateName,
    ComponentType componentType );

Parameters

areaName

(not specified)

templateName

(not specified)

componentType

(not specified)

Return Value

(not specified)

Remarks

If the template name ends in a number, it could be a template with ending numeric variations (like Text20, Text40, Text80) which are all the same template. However, if we find an installed addon template that ends in the exact name (including number) we use that first.

See Also YetaWF.Core.Addons.AddOnManager ClassYetaWF.Core Overview