internal Action GetAction(int actionIndex) {
Debug.Assert(actionIndex == 0 || this.containedActions != null);
if (this.containedActions != null && actionIndex < this.containedActions.Count) {
return (Action) this.containedActions[actionIndex];
}
else {
return null;
}
}