예제 #1
0
        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);
        }
예제 #2
0
 internal void UnregisterSystemTarget(SystemTarget target)
 {
     activationDirectory.RemoveSystemTarget(target);
     scheduler.UnregisterWorkContext(target.SchedulingContext);
 }