public AuxActionRef GetAction(int indx) { string shortDescr = ActionFactory <AuxActionRef> .GetShortDescr(indx); string keyShort = ActionFactory <AuxActionRef> .GetKey(shortDescr); KeyValuePair <string, AuxActionRef>?actionPair = HasGenAction(keyShort); if (actionPair != null) { KeyValuePair <string, AuxActionRef> info = (KeyValuePair <string, AuxActionRef>)actionPair; return((AuxActionRef)info.Value); } return(null); }
public string GetShortDescr(int cnt) { return(ActionFactory <AuxActionRef> .GetShortDescr(cnt)); }