30 lines
855 B
C#
30 lines
855 B
C#
using Matrix42.Extensions.Scaffolder.Core.Project;
|
||
using System;
|
||
using System.Collections.Generic;
|
||
|
||
namespace Matrix42.Extensions.Scaffolder.Core
|
||
{
|
||
public sealed class ExtensionScaffoldingOptions
|
||
{
|
||
/// <summary>
|
||
/// Absolute path where scaffolding should be created.
|
||
/// Typically solution directory from VS or some folder from CLI.
|
||
/// </summary>
|
||
public string ExtensionPath { get; set; }
|
||
|
||
/// <summary>
|
||
/// Extension id (Guid) – used in package.json or other metadata.
|
||
/// </summary>
|
||
public Guid ExtensionId { get; set; }
|
||
|
||
/// <summary>
|
||
/// Root namespace, e.g. "Matrix42.MyAwesomeExtension".
|
||
/// </summary>
|
||
public string ExtensionNamespace { get; set; }
|
||
|
||
/// <summary>
|
||
/// Projects to create.
|
||
/// </summary>
|
||
public IReadOnlyList<ProjectDefinition> Projects { get; set; } = Array.Empty<ProjectDefinition>();
|
||
}
|
||
} |