I\'m in the process of writing a C# Wicket implementation in order to deepen my understanding of C# and Wicket. One of the issues we\'re running into is that Wicket makes h
You can make the delegate be part of the constructor of the Link class. This way the user will have to add it.
public class Link { public Link(string id, Action handleStuff) { ... } }
Then you create an instance this way:
var link = new Link("id", () => do stuff);