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())); } }
void Dump(DumpScriptEvent dumpScriptEvent) { var assets = Resolve <IAssetManager>(); var events = assets.LoadScript(dumpScriptEvent.ScriptId); foreach (var e in events) { Info(e.ToString()); } }