Exemplo n.º 1
0
 /// <inheritdoc />
 public TFolderInfo(XmlNode node)
 {
     if (node != null)
     {
         Name        = Extensions.GetNodeInnerText(node.GetSingleNode(ClassHelper.GetMemberName(() => Name)));
         ID          = Extensions.GetNodeInnerText(node.GetSingleNode(ClassHelper.GetMemberName(() => ID)));
         FolderType  = Extensions.GetNodeInnerText(node.GetSingleNode(ClassHelper.GetMemberName(() => FolderType)));
         DefaultType = Extensions.GetNodeInnerText(node.GetSingleNode(ClassHelper.GetMemberName(() => DefaultType)));
         SubFolders  = new TFolderInfoList(node.GetSingleNode(ClassHelper.GetMemberName(() => SubFolders)));
     }
 }
Exemplo n.º 2
0
 /// <inheritdoc />
 public TFolderInfo()
 {
     SubFolders = new TFolderInfoList();
 }