예제 #1
0
        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);
        }
예제 #2
0
 public string GetShortDescr(int cnt)
 {
     return(ActionFactory <AuxActionRef> .GetShortDescr(cnt));
 }