Login

Username

Password





Register   Reset password

Get Cuyahoga at SourceForge.net. Fast, secure and Free Open Source software downloads

Forum

Welcome Guest Search | Active Topics | Members

Add Method FindByModuleParam to ModuleActionCollection Options
tuantmyb
Posted: Tuesday, January 25, 2011 10:47:12 AM
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;
}
Constructor
Posted: Tuesday, January 25, 2011 12:07:55 PM
Rank: Administration
Groups: Administration , Member

Joined: 10/7/2008
Posts: 505
Points: 1,515
Not me happy

What is the problem?
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Yet Another Forum.net version 1.9.0 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.