Esempio n. 1
0
 /// ------------------------------------------------------------------------------------
 public void RenameField(ComponentFile file, string oldId, string newId)
 {
     FindAndUpdateFiles(file, oldId, (metaDataFields, field) => field.FieldId = newId);
 }
Esempio n. 2
0
 /// ------------------------------------------------------------------------------------
 public void DeleteField(ComponentFile file, string idOfFieldToDelete)
 {
     FindAndUpdateFiles(file, idOfFieldToDelete,
                        (metaDataFields, field) => metaDataFields.Remove(field));
 }
Esempio n. 3
0
 /// ------------------------------------------------------------------------------------
 public static bool MoveToRecycleBin(ComponentFile file)
 {
     return(MoveToRecycleBin(file, true));
 }