Table of Contents

Interface IProjectItemTemplateService

Namespace
Loehnert.Lisrt.Scripting.Project.ProjectItem.Interfaces
Assembly
Loehnert.Lisrt.Scripting.dll

Interface for a service which handles the IProjectItemTemplates.

public interface IProjectItemTemplateService

Properties

Templates

Gets the all templates.

IEnumerable<IProjectItemTemplate> Templates { get; }

Property Value

IEnumerable<IProjectItemTemplate>

Methods

GetTemplates(IProjectItem)

Gets the templates which can add a new item to the parentItem.

IEnumerable<IProjectItemTemplate> GetTemplates(IProjectItem parentItem)

Parameters

parentItem IProjectItem

Item where the new one should be added.

Returns

IEnumerable<IProjectItemTemplate>

Templates which can be used with the parentItem.