Пример #1
0
        public ITaskFolder GetFolder(string folderName)
        {
            var taskFolder = _nativeService.GetFolder(folderName);

            if (taskFolder == null)
            {
                var newFolder = _nativeService.RootFolder.CreateFolder(folderName);
                return(_taskServiceConvertorFactory.CreateRootFolder(newFolder));
            }
            return(_taskServiceConvertorFactory.CreateRootFolder(taskFolder));
        }
Пример #2
0
 public ITaskFolder CreateFolder(string subFolderName, string sddlForm)
 {
     return(_taskServiceConvertorFactory.CreateRootFolder(Instance.CreateFolder(subFolderName, sddlForm)));
 }
Пример #3
0
 public ITaskFolder GetFolder(string folderName)
 {
     return(_taskServiceConvertorFactory.CreateRootFolder(_nativeService.GetFolder(folderName)));
 }