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

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

            return(this);
        }