Пример #1
0
 private bool FilterJob(AvailableJob job, string filter)
 {
     return filter == null ||
         job.Job.Name.IndexOf(filter, StringComparison.InvariantCultureIgnoreCase) != -1;
 }
Пример #2
0
        private AvailableJob CreateAvailableJob(Job job)
        {
            var availableJob = new AvailableJob(job);

            availableJob.SelectionChanged += OnJobSelectionChanged;

            return availableJob;
        }