Example #1
0
        private WorkingItemConfiguration LoadWorkItemConfiguration()
        {
            WorkingItemConfiguration workingItemConfiguration = new WorkingItemConfiguration();

            workingItemConfiguration.SelectedWorkItemType = WorkItem.Type;
            workingItemConfiguration.Load();
            return(workingItemConfiguration);
        }
Example #2
0
        private WorkingItemConfiguration LoadWorkItemConfiguration()
        {
            WorkingItemConfiguration workingItemConfiguration = new WorkingItemConfiguration();

            workingItemConfiguration.SelectedWorkItemType = WorkItem.Type;

            var fields = WorkItem.Fields.OfType <Field>().Select(f => new { f.Name, f.Value }).OrderBy(f => f.Name).ToList();

            workingItemConfiguration.Load();
            return(workingItemConfiguration);
        }