Example #1
0
        void Dump(DumpScriptEvent dumpScriptEvent)
        {
            var assets = Resolve <IAssetManager>();
            var events = assets.LoadScript(dumpScriptEvent.ScriptId);

            foreach (var e in events)
            {
                Raise(new LogEvent(LogEvent.Level.Info, e.ToString()));
            }
        }
Example #2
0
        void Dump(DumpScriptEvent dumpScriptEvent)
        {
            var assets = Resolve <IAssetManager>();
            var events = assets.LoadScript(dumpScriptEvent.ScriptId);

            foreach (var e in events)
            {
                Info(e.ToString());
            }
        }