Esempio n. 1
0
 public static WebFilesystemItem ToWebFilesystemItem(this WebFilesystemItem item)
 {
     return(new WebFilesystemItem()
     {
         DateAdded = item.DateAdded,
         Id = item.Id,
         LastAccessTime = item.LastAccessTime,
         LastModifiedTime = item.LastModifiedTime,
         Path = item.Path,
         PID = item.PID,
         Title = item.Title,
         Type = item.Type
     });
 }
 internal static WebFilesystemItem FilesystemItem(WebFilesystemItem item)
 {
     return(new WebFilesystemItem
     {
         DateAdded = item.DateAdded,
         Id = item.Id,
         LastAccessTime = item.LastAccessTime,
         LastModifiedTime = item.LastModifiedTime,
         Path = item.Path,
         PID = item.PID,
         Title = item.Title,
         Type = item.Type
     });
 }