28 lines
1.1 KiB
C#
Executable File
28 lines
1.1 KiB
C#
Executable File
namespace MarketAlly.ProjectDetector;
|
|
|
|
/// <summary>
|
|
/// Configuration options for the ProjectTypeDetector
|
|
/// </summary>
|
|
public class ProjectDetectorOptions
|
|
{
|
|
/// <summary>
|
|
/// Whether to detect infrastructure types (Container, Infrastructure projects).
|
|
/// When disabled, these types will not be detected and the detector will look for actual code types instead.
|
|
/// Default: true
|
|
/// </summary>
|
|
public bool DetectInfrastructureTypes { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// Whether to detect container projects specifically.
|
|
/// This is useful to disable when you want to focus on the actual code type rather than deployment method.
|
|
/// Default: true
|
|
/// </summary>
|
|
public bool DetectContainerProjects { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// Whether infrastructure detectors should run last (just before fallback detectors).
|
|
/// When true, code-based detectors will have priority over infrastructure detectors.
|
|
/// Default: false
|
|
/// </summary>
|
|
public bool InfrastructureDetectorsLast { get; set; } = false;
|
|
} |