Table of Contents

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

ProjectTemplateEntry[]

Name

The name of the project template.

string Name { get; }

Property Value

string

Methods

FromDirectory(string, string)

Generates a project template from a directory.

public static IProjectTemplate FromDirectory(string name, string path)

Parameters

name string

The name of the project template.

path string

The 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()

Returns

bool

By default, returns true.