using Blue; public class LoadMapFileCommand : ICommand { private string mFileName; public LoadMapFileCommand(string fileName) { mFileName = fileName; } public void OnExcute() { this.TriggerEvent(new LoadMapFileEvent(){fileName = mFileName}); } }