コード例 #1
0
        private static void ConsoleWriteRegisteredModules()
        {
            Console.WriteLine("The following modules are loaded: ");

            IModulesHostContainer container = ServiceLocator.Current.GetInstance <IModulesHostContainer>();
            var modules = container.GetModules();

            modules.ForEach(m => Console.WriteLine($"\t{m}"));

            Console.WriteLine();
        }
コード例 #2
0
 public PortfolioModule(IModulesHostContainer container)
 {
     this.container = container;
 }
コード例 #3
0
 public QuotationsModule(IModulesHostContainer container)
 {
     this.container = container;
 }
コード例 #4
0
 public SalesModule(IModulesHostContainer container)
 {
     this.container = container;
 }