Passing a delegate as function parameter

So, i’ve a class called StateBase, in which i’ve a dictionary and a function with a delegate as parameter.

In a child class i’ve tried 2 ways of adding entries in the dictionary.

If i add directly in the dictionary it works, but i would like to call the function in the first image.
Problem is i get errors when i call the function in che child class.
Any help?