Rank: Member Groups: Member
Joined: 3/6/2007 Posts: 24 Points: 69
|
I think constructor add method FindByModuleParam to this module. It's similar to method FindByName, but we can change name of ModuleAction. public ModuleAction FindByModuleParam(string param) { try { foreach (ModuleAction action in this.List) { if (action.Parameters == null) { } else { if (action.Parameters[0] == param) { return action; } } } } catch{} return null; }
|
Rank: Administration Groups: Administration
, Member
Joined: 10/7/2008 Posts: 505 Points: 1,515
|
Not me What is the problem?
|