Loading files
651b5b7c8This file is pinned to the selected release. Download the original to open it in your design tool.
using Hast.Layer;
using Hast.Synthesis.Abstractions;
using System.Threading.Tasks;
namespace Hast.Catapult.Abstractions
{
public class CatapultHardwareImplementationComposer : IHardwareImplementationComposer
{
public bool CanCompose(IHardwareImplementationCompositionContext context) =>
context.DeviceManifest.Name == CatapultManifestProvider.DeviceName;
public Task<IHardwareImplementation> ComposeAsync(IHardwareImplementationCompositionContext context)
{
// Not yet implemented, just here as a placeholder.
return Task.FromResult((IHardwareImplementation)new HardwareImplementation());
}
}
}