public void file(object source, object target) { ICodeGenerator copy = new CopyFile(); copy.Init(Project, Dependencies, Aggregator); Dictionary<string, string> param = new Dictionary<string, string>(); param.Add("SourcePath", source.ToString()); param.Add("DestinyPath", target.ToString()); copy.SetParameters(param); copy.AfterGenerate(); }