예제 #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)));
 }