public NProperty Event <T>(Action <T, NEventAdapter> subscribe) where T : class { return(Support(typeof(T), (t, v) => NEventAggregator.AssignEvent(this, v, (T)t, subscribe))); }
public NProperty Event <T>(RoutedEvent routedEvent, Func <NEventAdapter, Delegate> extractor) where T : DependencyObject { return(Support(typeof(T), (t, v) => NEventAggregator.AssignEvent(this, v, (DependencyObject)t, routedEvent, extractor))); }