private void initAppEvents() { var usrCfg = new UserConfig(); usrCfg.load(usrCfg.getLink(Settings._.CommonPath, Config.Entity.NAME, null)); Event = new API.EventLevel(); ((IEntryPointCore)Event).load(Dte2, usrCfg.Data.Global.DebugMode); // Receiver _owpListener = new Receiver.Output.OWP(Event.Environment); _owpListener.attachEvents(); _owpListener.Receiving += (object sender, Receiver.Output.PaneArgs e) => { if (e.Guid.CompareGuids(GuidList.OWP_BUILD_STRING)) { Event.onBuildRaw(e.Raw); } }; }
private void initAppEvents() { GlobalConfig._.load(null, null); Event = new API.EventLevel(); ((IEntryPointCore)Event).load(Dte2, GlobalConfig._.Data.Global.DebugMode); _owpListener = new Receiver.Output.OWP(Event.Environment, "Build"); _owpListener.attachEvents(); _owpListener.Receiving += (object sender, Receiver.Output.PaneArgs e) => { ((Bridge.IBuild)Event).onBuildRaw(e.Raw); }; }