public ModuleActionCollection GetOutboundActions()
 {
     ModuleActionCollection moduleActions = new ModuleActionCollection();
     //has to be connected to a SearchModule
     moduleActions.Add(new ModuleAction("SetCategory", new string[0]));
     return moduleActions;
 }
Пример #2
0
 public ModuleActionCollection GetOutboundActions()
 {
     ModuleActionCollection ac = new ModuleActionCollection();
     ac.Add(new ModuleAction("Search", new string[0]));
     return ac;
 }
 /// <summary>
 /// Returns a list of outbound actions.
 /// </summary>
 /// <returns></returns>
 public ModuleActionCollection GetOutboundActions()
 {
     ModuleActionCollection moduleActions = new ModuleActionCollection();
     // This action is for example compatible with the ViewProfile inbound action of
     // the ProfileModule but it's also possible to write your own Profile module that
     // has a compatible inbound action.
     moduleActions.Add(new ModuleAction("ViewProfile", new string[1] {"UserId"}));
     return moduleActions;
 }