mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
just grab params once and update directly
This commit is contained in:
parent
3d3af6aed0
commit
0bf8cc9aed
@ -62,9 +62,10 @@ namespace RusticiSoftware.Translator.CLR
|
||||
DelegateRepTemplate to = new DelegateRepTemplate();
|
||||
|
||||
to.Return = "System.String";
|
||||
to.Params.Add(new ParamRepTemplate("System.Int32", "count"));
|
||||
to.Params.Add(new ParamRepTemplate("System.Object", "fill"));
|
||||
to.Params.Add(new ParamRepTemplate("System.Boolean", "verbose"));
|
||||
List<ParamRepTemplate> parms = to.Params;
|
||||
parms.Add(new ParamRepTemplate("System.Int32", "count"));
|
||||
parms.Add(new ParamRepTemplate("System.Object", "fill"));
|
||||
parms.Add(new ParamRepTemplate("System.Boolean", "verbose"));
|
||||
to.Java = "fred";
|
||||
|
||||
DelegateRepTemplate back = (DelegateRepTemplate)ToStreamAndBack(to);
|
||||
|
Loading…
x
Reference in New Issue
Block a user