Interface IProjectTemplate
- Namespace
- Dassie.Extensions
- Assembly
- dc.dll
Represents a project template to be used with the 'dc new' command.
public interface IProjectTemplate
- Extension Methods
Properties
Entries
An array of file system entries that are part of the project.
ProjectTemplateEntry[] Entries { get; }
Property Value
Name
The name of the project template.
string Name { get; }
Property Value
Methods
FromDirectory(string, string)
Generates a project template from a directory.
public static IProjectTemplate FromDirectory(string name, string path)
Parameters
namestringThe name of the project template.
pathstringThe directory containing the project template elements.
Returns
- IProjectTemplate
A project template based on the specific directory structure.
IsCaseSensitive()
Allows setting the case sensitivity of the project template name.
bool IsCaseSensitive()