public virtual void AssignCollector(Collector collector) { this.collector = collector; //Override this method to get a call whenever a collector is assigned to this resource }
public static void Remove(Collector collector) { instance.collectors.Remove(collector); }