[c#] Passing a callback function to another class