Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# tuantmyb 1/25/2011 7:47 PM
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;
}
# Constructor 1/25/2011 9:07 PM
Not me :)

What is the problem?