using Blue; public class DownloadFileCommand : ICommand { private string url; private string fileType; private int projectID; public DownloadFileCommand(string url,string fileType,int projectID) { this.url = url; this.fileType = fileType; this.projectID = projectID; } public void OnExcute() { this.TriggerEvent(new DownLoadMapFileEvent() { Url = url, FileType = fileType, ProjectID = projectID }); } }