Example #1
0
        public TaskManagerBuilder With <TBehavior>()
            where TBehavior : Behavior
        {
            _behavior = BehaviorFactory.CreateFor <TBehavior>(_maxCapacity);

            return(this);
        }
Example #2
0
        public TaskManagerBuilder With(string behavior)
        {
            _behavior = BehaviorFactory.CreateFor(behavior, _maxCapacity);

            return(this);
        }