public void Remove(T aValue, InstanceInformation aInstances) { lock (this) { Deleted = null; if (((DuplicateHandling == DuplicateHandlingType.CollectDuplicates) && (aInstances != InstanceInformation.AllInstances)) || (aInstances == InstanceInformation.ObjectInstance)) { IAVLTreeSortNode <T> t = FindAndMark(aValue); if (t == null) { return; } if (t.InstanceCount > 1) { t.RemoveValue(aValue); } else { Remove(aValue, InstanceInformation.AllInstances); } return; } Root.Delete(args, ref root, aValue); } }
public void Remove(T aValue, InstanceInformation aInstances) { lock (this) { tree.Remove(aValue, aInstances); if (tree.DeletedNode != null) { tree.DeletedNode.Disconnect(); tree.DeletedNode = null; } } }
public SensorController(ISensorService svc, InstanceInformation info, IInstanceService inst) : base(info) { Svc = svc; InstSvc = inst; }
public BaseController(InstanceInformation info) { Info = info; }
public IncrementInstanceCountFilter(InstanceInformation info, IInstanceService svc) { Info = info; Svc = svc; }