Beispiel #1
0
        //起動時によぶ
        public void InitializePlugins(PoderosaStartupContext sc)
        {
            try {
                _tracer = sc.Tracer;
                Debug.Assert(_tracer != null);

                List(sc.PluginManifest);
                Load();
                Order();
                Instantiate();
            } catch (Exception ex) {
                _tracer.Trace(ex);
            }
        }
Beispiel #2
0
        //起動時によぶ
        public void InitializePlugins(PoderosaStartupContext sc)
        {
            try {
                _tracer = sc.Tracer;
                Debug.Assert(_tracer != null);

                _allPlugins = new List <Plugin>();
                ListPlugins(Assembly.GetEntryAssembly());
                ListPlugins(sc.PluginManifest);
                Load();
                Order();
                Instantiate();
            }
            catch (Exception ex) {
                _tracer.Trace(ex);
            }
        }