Skip to content

Commit 3d2cdeb

Browse files
authored
Mark detectors as public (#1707)
1 parent ba6ac1d commit 3d2cdeb

22 files changed

+22
-22
lines changed

src/Microsoft.ComponentDetection.Detectors/cocoapods/PodComponentDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace Microsoft.ComponentDetection.Detectors.CocoaPods;
1616
using YamlDotNet.Core.Events;
1717
using YamlDotNet.Serialization;
1818

19-
internal class PodComponentDetector : FileComponentDetector
19+
public class PodComponentDetector : FileComponentDetector
2020
{
2121
public PodComponentDetector(
2222
IComponentStreamEnumerableFactory componentStreamEnumerableFactory,

src/Microsoft.ComponentDetection.Detectors/conan/ConanLockComponentDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.ComponentDetection.Detectors.Conan;
1313
using Microsoft.ComponentDetection.Detectors.Conan.Contracts;
1414
using Microsoft.Extensions.Logging;
1515

16-
internal class ConanLockComponentDetector : FileComponentDetector, IDefaultOffComponentDetector
16+
public class ConanLockComponentDetector : FileComponentDetector, IDefaultOffComponentDetector
1717
{
1818
public ConanLockComponentDetector(
1919
IComponentStreamEnumerableFactory componentStreamEnumerableFactory,

src/Microsoft.ComponentDetection.Detectors/conda/CondaLockComponentDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Microsoft.ComponentDetection.Detectors.Poetry;
1414
using Microsoft.Extensions.Logging;
1515
using YamlDotNet.Serialization;
1616

17-
internal class CondaLockComponentDetector : FileComponentDetector, IDefaultOffComponentDetector
17+
public class CondaLockComponentDetector : FileComponentDetector, IDefaultOffComponentDetector
1818
{
1919
public CondaLockComponentDetector(
2020
IComponentStreamEnumerableFactory componentStreamEnumerableFactory,

src/Microsoft.ComponentDetection.Detectors/dockerfile/DockerfileComponentDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Microsoft.ComponentDetection.Detectors.Dockerfile;
1515
using Microsoft.Extensions.Logging;
1616
using Valleysoft.DockerfileModel;
1717

18-
internal class DockerfileComponentDetector : FileComponentDetector, IDefaultOffComponentDetector
18+
public class DockerfileComponentDetector : FileComponentDetector, IDefaultOffComponentDetector
1919
{
2020
private readonly ICommandLineInvocationService commandLineInvocationService;
2121
private readonly IEnvironmentVariableService envVarService;

src/Microsoft.ComponentDetection.Detectors/dotnet/DotNetComponentDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Microsoft.ComponentDetection.Detectors.DotNet;
1717
using Microsoft.ComponentDetection.Contracts.TypedComponent;
1818
using Microsoft.Extensions.Logging;
1919

20-
internal class DotNetComponentDetector : FileComponentDetector
20+
public class DotNetComponentDetector : FileComponentDetector
2121
{
2222
private const string GlobalJsonFileName = "global.json";
2323
private readonly ICommandLineInvocationService commandLineInvocationService;

src/Microsoft.ComponentDetection.Detectors/go/GoComponentDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace Microsoft.ComponentDetection.Detectors.Go;
1616
using Microsoft.ComponentDetection.Contracts.TypedComponent;
1717
using Microsoft.Extensions.Logging;
1818

19-
internal class GoComponentDetector : FileComponentDetector
19+
public class GoComponentDetector : FileComponentDetector
2020
{
2121
private readonly HashSet<string> projectRoots = [];
2222

src/Microsoft.ComponentDetection.Detectors/gradle/GradleComponentDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.ComponentDetection.Detectors.Gradle;
1313
using Microsoft.ComponentDetection.Contracts.TypedComponent;
1414
using Microsoft.Extensions.Logging;
1515

16-
internal class GradleComponentDetector : FileComponentDetector, IComponentDetector
16+
public class GradleComponentDetector : FileComponentDetector, IComponentDetector
1717
{
1818
private const string DevConfigurationsEnvVar = "CD_GRADLE_DEV_CONFIGURATIONS";
1919
private const string DevLockfilesEnvVar = "CD_GRADLE_DEV_LOCKFILES";

src/Microsoft.ComponentDetection.Detectors/ivy/IvyDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace Microsoft.ComponentDetection.Detectors.Ivy;
3838
/// The file written out by the custom Ant task is a simple JSON file representing a series of calls to be made to
3939
/// the <see cref="ISingleFileComponentRecorder.RegisterUsage(DetectedComponent, bool, string, bool?, DependencyScope?, string)"/> method.
4040
/// </remarks>
41-
internal class IvyDetector : FileComponentDetector, IExperimentalDetector
41+
public class IvyDetector : FileComponentDetector, IExperimentalDetector
4242
{
4343
internal const string PrimaryCommand = "ant.bat";
4444

src/Microsoft.ComponentDetection.Detectors/linux/LinuxApplicationLayerDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Microsoft.ComponentDetection.Detectors.Linux;
1515
/// <param name="linuxScanner">The Linux scanner service.</param>
1616
/// <param name="dockerService">The Docker service.</param>
1717
/// <param name="logger">The logger.</param>
18-
internal class LinuxApplicationLayerDetector(
18+
public class LinuxApplicationLayerDetector(
1919
ILinuxScanner linuxScanner,
2020
IDockerService dockerService,
2121
ILogger<LinuxApplicationLayerDetector> logger

src/Microsoft.ComponentDetection.Detectors/linux/LinuxContainerDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Microsoft.ComponentDetection.Detectors.Linux;
2020
/// <summary>
2121
/// Detector for Linux container images.
2222
/// </summary>
23-
internal class LinuxContainerDetector(
23+
public class LinuxContainerDetector(
2424
ILinuxScanner linuxScanner,
2525
IDockerService dockerService,
2626
ILogger<LinuxContainerDetector> logger

0 commit comments

Comments
 (0)