using Elsa.Features.Contracts; using Elsa.Features.Models; namespace Elsa.Features.Services; /// /// Legacy implementation of that delegates to . /// /// /// This implementation is used when features are manually registered using the legacy feature system. /// For shell-based feature discovery, use ShellInstalledFeatureProvider instead. /// public class InstalledFeatureProvider : IInstalledFeatureProvider { private readonly IInstalledFeatureRegistry _registry; /// /// Initializes a new instance of the class. /// public InstalledFeatureProvider(IInstalledFeatureRegistry registry) { _registry = registry; } /// public IEnumerable List() => _registry.List(); /// public FeatureDescriptor? Find(string fullName) => _registry.Find(fullName); }