示例#1
0
文件: Reference.cs 项目: unicloud/FRP
 public static DocumentPathDTO CreateDocumentPathDTO(int documentPathId, bool isLeaf, global::System.Collections.ObjectModel.ObservableCollection<SubDocumentPathDTO> subDocumentPaths)
 {
     DocumentPathDTO documentPathDTO = new DocumentPathDTO();
     documentPathDTO.DocumentPathId = documentPathId;
     documentPathDTO.IsLeaf = isLeaf;
     if ((subDocumentPaths == null))
     {
         throw new global::System.ArgumentNullException("subDocumentPaths");
     }
     documentPathDTO.SubDocumentPaths = subDocumentPaths;
     return documentPathDTO;
 }
示例#2
0
文件: Reference.cs 项目: unicloud/FRP
 public void AddToDocumentPaths(DocumentPathDTO documentPathDTO)
 {
     base.AddObject("DocumentPaths", documentPathDTO);
 }