public AsyncMethodManagerTests()
 {
     manager = new AsyncMethodManager<Plugin>();
     plugin = new Plugin();
 }
Exemple #2
0
        private void InitialisePlugins()
        {
            // TODO: Spin Up the Plugins Loaded in the Current Directory and "Plugins" Directory.
            var asmCat = new AssemblyCatalog(Assembly.GetExecutingAssembly());
            var container = new CompositionContainer(asmCat);
            container.ComposeParts(this);

            ExecutingTimerEventPlugins = new AsyncMethodManager<TimerEventPlugin>();
        }
        private void InitialisePlugins()
        {
            var asmCat = new AssemblyCatalog(Assembly.GetExecutingAssembly());
            var container = new CompositionContainer(asmCat);
            container.ComposeParts(this);

            ExecutingTimerEventPlugins = new AsyncMethodManager<TimerEventPlugin>();
        }