Cross Platform Application to allow control with a MIDI controller
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
733 B

// Author: Gockner, Simon
// Created: 2021-04-09
// Copyright(c) 2021 SimonG. All Rights Reserved.
using Lib.Midi;
using Lib.Midi.Factories;
using Lib.Midi.Interfaces;
using LightweightIocContainer.Interfaces;
using LightweightIocContainer.Interfaces.Installers;
namespace Mystify.Installers
{
public class MidiInstaller : IIocInstaller
{
public void Install(IIocContainer container)
{
container.Register<IMidiCommunication, MidiCommunication>();
container.Register<IMidiMessage, MidiMessage>();
//factories
container.RegisterFactory<IMidiCommunicationFactory>();
container.RegisterFactory<IMidiMessageFactory>();
}
}
}