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)); } activationDirectory.RemoveSystemTarget(systemTarget); scheduler.UnregisterWorkContext(systemTarget.SchedulingContext); }
internal void UnregisterSystemTarget(SystemTarget target) { activationDirectory.RemoveSystemTarget(target); scheduler.UnregisterWorkContext(target.SchedulingContext); }