public ContextMenuBuilder(IMenuModelAdapter <TModel> modelAdapter, ContextMenuActionRegistry actionRegistry, TModel model) { this.model = model; this.actionRegistry = actionRegistry; this.modelAdapter = modelAdapter; }
public ContextMenuLogic(IContextMenuHandler?handler, IMenuModelAdapter <TModel> modelAdapter) { this.handler = handler; this.modelAdapter = modelAdapter; this.actionRegistry = new ContextMenuActionRegistry(); }