Exemplo n.º 1
0
        public void Initialize()
        {
            sorterContainer = new Container();

            sorterContainer.Register <IJobSorter, JobSorter>(Lifestyle.Transient);
            _jobSorter = (IJobSorter)sorterContainer.GetInstance(typeof(IJobSorter));

            formatContainer = new Container();

            formatContainer.Register <IFormatInput, FormatInput>(Lifestyle.Transient);
            _formatInput = (IFormatInput)formatContainer.GetInstance(typeof(IFormatInput));
        }
Exemplo n.º 2
0
 public Scheduler()
 {
     _sorter = new CriticalPathByTime();
 }