public void UnregisterSystemTarget(ISystemTarget target) { var systemTarget = target as SystemTarget; if (systemTarget == null) { throw new ArgumentException($"Parameter must be of type {typeof(SystemTarget)}", nameof(target)); } activations.RemoveSystemTarget(systemTarget); }
internal void UnregisterSystemTarget(SystemTarget target) { activationDirectory.RemoveSystemTarget(target); scheduler.UnregisterWorkContext(target.SchedulingContext); }