} // func InvokeAction private DEConfigAction CompileTypeAction(string sAction) { ConfigDescriptionCache cac = ConfigDescriptionCache.Get(GetType()); if (cac == null) { return(DEConfigAction.Empty); } ConfigAction ca; if (cac.GetConfigAction(sAction, out ca)) { return(CompileTypeAction(ref ca)); } else { return(DEConfigAction.Empty); } } // func CompileTypeAction
} // ctor public bool GetConfigAction(string sAction, out ConfigAction action) { // Suuche die Action if (actions != null) { int iIdx = Array.FindIndex(actions, cur => String.Compare(cur.Attribute.ActionName, sAction, true) == 0); if (iIdx >= 0) { action = actions[iIdx]; return(true); } } if (prev != null) { return(prev.GetConfigAction(sAction, out action)); } else { action = new ConfigAction(); return(false); } } // func GetConfigAction