public void ConfigureDependencies(IInversionOfControl container) { container.AddSingleton <IConfiguration, Configurations>() .AddSingleton <IBinarySearchTree <BottomSizeTreeDataModel>, BinarySearchTree <BottomSizeTreeDataModel> >() .AddSingleton <ILinked_List <TimeListDataModel>, Linked_List <TimeListDataModel> >() .AddSingleton <IRepository <Box>, BoxesRepository>() .RegisterType <ILogger, ConsoleLogger>() .RegisterType <IUserInteractions, UserInteractions>() .AddSingleton <IManager, Manager>(); }
public BoxesUI(IStartup startUp, IInversionOfControl ioc) { _startUp = startUp; _ioc = ioc; Init(); }