示例#1
0
 public void UnregisterConsumer(IOutputConsumer consumer)
 {
     lock (featureSyncObject) {
         OutputConsumers.Remove(consumer);
     }
 }
示例#2
0
 public void RegisterConsumer(IOutputConsumer consumer)
 {
     lock (featureSyncObject) {
         OutputConsumers.Add(consumer);
     }
 }