Add project files.

This commit is contained in:
Daniel Clark
2022-11-01 15:26:08 +00:00
parent daa7b59f22
commit 7e4f880821
408 changed files with 16863 additions and 0 deletions
@@ -0,0 +1,18 @@
using Microcontroller;
using TheXamlGuy.Framework.Serial;
namespace TheXamlGuy.Framework.Microcontroller;
public interface IMicrocontrollerBuilderConfiguration
{
IReadOnlyCollection<IMicrocontrollerModuleDescriptor> Modules { get; }
Func<IServiceProvider, IMicrocontrollerContext> Factory { get; }
}
public interface IMicrocontrollerBuilderConfiguration<TConfiguration, TSerialReader, TRead, TReadDeserializer> : IMicrocontrollerBuilderConfiguration where TConfiguration : IMicrocontrollerConfiguration, new()
where TSerialReader : SerialReader<TRead> where TReadDeserializer : IMicrocontrollerModuleDeserializer<TRead>, new()
{
IMicrocontrollerBuilderConfiguration<TConfiguration, TSerialReader, TRead, TReadDeserializer> AddModule<TModule>() where TModule : IMicrocontrollerModule, new();
}