public ActionEventInvoker this[string name] { get { if (dictionary.TryGetValue(name, out ActionEventInvoker actionEventInvoker)) { return(actionEventInvoker); } actionEventInvoker = new ActionEventInvoker(name); dictionary.Add(name, actionEventInvoker); return(actionEventInvoker); } }
public void Bind(EventInvokers eventInvokers) { actionEventNotifier = eventInvokers[name]; }