Need to work on Getting the Missions running, There is currently an issue with the UDP Client sending to a bad IP
This commit is contained in:
21
Tello Drone/CoreModule.cs
Normal file
21
Tello Drone/CoreModule.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using DryIoc;
|
||||
|
||||
namespace Tello_Drone
|
||||
{
|
||||
public class CoreModule : IModule
|
||||
{
|
||||
public void Register(IContainer container)
|
||||
{
|
||||
container.Register<IDroneFactory, DroneFactory>(Reuse.Singleton);
|
||||
container.Register<IDroneCommands, DroneComands>(Reuse.Singleton);
|
||||
container.Register<IDrone, Drone>(Reuse.Singleton);
|
||||
container.Register<IMissions, Missions>(Reuse.Singleton);
|
||||
container.Register<IConsoleLogger, ConsoleLogger>(Reuse.Singleton);
|
||||
}
|
||||
|
||||
public void Resolve(IContainer container)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user