private void OnInterfaceToClassChanged(InterfaceToClassEvent domainEvent)
 {
     // remove the interface from the available interface list
     var item = ByName(domainEvent.InterfaceName);
     if (item != null)
         Remove(item);
 }
 private void OnInterfaceToClassChanged(InterfaceToClassEvent domainEvent)
 {
     // a new class was added that cannot be part of our list,
     // so add it explicitly
     var @class = _classifiers.FindByName(domainEvent.InterfaceName);
     Add(new ClassifierItemViewModel(@class.Name));
 }