コード例 #1
0
 public NewViewData(Models.ProjectUpdateBatch projectUpdateBatch, IEnumerable <SelectListItem> projectImageTimings)
 {
     ProjectUpdateBatch      = projectUpdateBatch;
     ProjectImageTimings     = projectImageTimings;
     SupportedFileExtensions = new List <string> {
         "jpg", "png", "gif", "tiff", "bmp"
     };
     SupportedFileExtensionsCommaSeparated = string.Join(", ", SupportedFileExtensions.OrderBy(x => x));
 }
 public NewProjectDocumentUpdateViewModel(Models.ProjectUpdateBatch projectUpdateBatch)
 {
     ParentID = projectUpdateBatch.ProjectUpdateBatchID;
 }