Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
a73988a89This file is pinned to the selected release. Download the original to open it in your design tool.
using Hast.Common.Interfaces;
using Hast.Synthesis.Models;
namespace Hast.Synthesis.Services;
/// <summary>
/// Service for selecting an <see cref="IHardwareImplementationComposer"/> instance based on the given hardware
/// implementation composition context.
/// </summary>
public interface IHardwareImplementationComposerSelector : IDependency
{
/// <summary>
/// Retrieves the matching <see cref="IHardwareImplementationComposer"/> instance for the given hardware
/// implementation context, if any.
/// </summary>
/// <param name="context">All the data necessary for the hardware implementation composition to happen.</param>
/// <returns>
/// The matching <see cref="IHardwareImplementationComposer"/> instance if one is found, <see langword="null"/>
/// otherwise.
/// </returns>
IHardwareImplementationComposer GetHardwareImplementationComposer(IHardwareImplementationCompositionContext context);
}