public static void RegisterActionDefinition(ActionDefinition actionDefinition) { actionDefinition.Vars = actionDefinition.Args.ToDictionary(); actionDefinitions[actionDefinition.Name] = actionDefinition; }