Example #1
0
        public void Can_create_worklist_with_SDE_workspace_from_definition_file()
        {
            XmlWorkListDefinition definition = XmlWorkItemStateRepository.Import(_path);

            IWorkList worklist = WorkListUtils.Create(definition);

            Assert.NotNull(worklist);

            Assert.AreEqual(2, worklist.Count());
        }
        public override IWorkList Get()
        {
            if (WorkList == null)
            {
                XmlWorkListDefinition definition = XmlWorkItemStateRepository.Import(_path);

                WorkList = WorkListUtils.Create(definition);
            }

            return(WorkList);
        }