private void KernelOnComponentDestroyed(ComponentModel model, object instance) { if (instance == _feedProvider) { var channelName = model.ExtendedProperties["ChannelName"] as string; _bus.RemoveFeedProvider(channelName, this); } }
private void KernelOnComponentDestroyed(ComponentModel model, object instance) { if (instance == _feedProvider) { var channelName = model.ExtendedProperties["ChannelName"] as string; _bus.RemoveFeedProvider(channelName, this); } }