private void AddFileDescriptionToStorage(ICrateStorage storage, List <ControlDefinitionDTO> file_pickers) { int labelless_filepickers = 0; storage.RemoveByManifestId((int)MT.StandardFileHandle); foreach (var filepicker in file_pickers) { string crate_label = GetFileDescriptionLabel(filepicker, labelless_filepickers); storage.Add(Crate.FromContent(crate_label, new StandardFileDescriptionCM())); } }