public void UnregisterConsumer(IOutputConsumer consumer) { lock (featureSyncObject) { OutputConsumers.Remove(consumer); } }
public void RegisterConsumer(IOutputConsumer consumer) { lock (featureSyncObject) { OutputConsumers.Add(consumer); } }